Function at 0x4bb3a0
Capabilities:
Extract resource via kernel32 functions
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4bb844
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bb843
push esi
push 0x417
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x416
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4bb406
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x4bb413
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
sub edx, ecx
lea eax, [edx - 0x18]
cmp eax, 0x18
jae 0x4bb5fb
test esi, esi
je 0x4bb5fb
cmp dword [ecx + 0x14], 8
jb 0x4bb436
mov ecx, dword [ecx]
test ecx, ecx
je 0x4bb442
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x5ccda4]
test ecx, ecx
je 0x4bb4d2
cmp byte [ebp + 0x10], 0
push 0x58a544
jne 0x4bb45f
push 0x79
jmp 0x4bb461
push 0x7a
call fcn.004cb840
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4bb4d2
mov ecx, dword [0x5ccda4]
push edi
call fcn.004cb840
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4bb4d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4bb4d2
mov ecx, dword [0x5ccda4]
push 0
push 0
push 0
push 0x30000
push 1
push edi
call fcn.004cb840
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
test eax, eax
je 0x4bb4d2
push eax
push 1
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x4bb5f3
test eax, eax
je 0x4bb5f3
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x4bb5e1
cmp ebx, 0x3ffffffe
jae 0x4bb5e1
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406939
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4bb5e1
lea ecx, [ebx + 1]
xorps xmm0, xmm0
push ecx
push eax
push esi
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4bb5d5
lea eax, [ebp - 0xc]
push eax
push ebx
mov ebx, dword [ebp - 0x5c]
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4bb5d8
push 0x3c
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x4bb5a1
mov eax, dword [ebp - 0x44]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xc]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4bb5d8
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 0x206
push eax
push dword [ebp - 0xc]
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4bb5d8
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.004097f9
add esp, 4
push dword [ebp - 0x60]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 5
push esi
jmp 0x4bb83c
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4bb842
test edi, edi
je 0x4bb842
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4bb655
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4bb63e
mov eax, dword [esi]
push eax
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x4bb634
push 0
push 0
push 0x14e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x15e
push 0x160
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov ebx, eax
push edi
mov dword [ebp - 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x4bb839
test eax, eax
je 0x4bb839
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
push ebx
push ebx
push 0x146
push edi
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov dword [ebp - 0x68], eax
test eax, eax
jle 0x4bb7f7
nop dword [eax]
push 0
push esi
push 0x149
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jle 0x4bb7ea
cmp ebx, 0x3ffffffe
jae 0x4bb7ea
lea eax, [ebx*2 + 2]
push eax
call fcn.00406939
add esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4bb7ea
lea ecx, [ebx*2 + 2]
push ecx
push 0
push eax
call fcn.005290f0
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
push dword [ebp - 0x64]
push esi
push 0x148
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4bb7df
mov eax, dword [ebp - 0x64]
lea ecx, [ebx + ebx]
xor edx, edx
mov word [ecx + eax], dx
lea ecx, [ebp - 0xc]
push ecx
push ebx
mov ebx, dword [ebp - 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4bb7df
push 0x3c
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp - 0x44]
mov ebx, eax
mov ecx, dword [ebp - 0xc]
test ebx, ebx
je 0x4bb791
lea ecx, [ecx + edx*2]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
cmovg eax, ecx
mov dword [ebp - 0x5c], eax
test esi, esi
jne 0x4bb7df
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x4bb7b4
lea eax, [edx + ecx]
lea eax, [eax + edx*2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4bb7df
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 0x206
push eax
push dword [ebp - 0xc]
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x64]
call fcn.004097f9
add esp, 4
inc esi
cmp esi, dword [ebp - 0x68]
jl 0x4bb6d0
mov ebx, dword [ebp - 0x5c]
push dword [ebp - 0x6c]
mov esi, dword [ebp - 0x60]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
jle 0x4bb839
push 0
push ebx
push 0x15e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, 0x15e
jge 0x4bb839
push 0
lea eax, [ebx + 0xa]
push eax
push 0x160
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040154f
mov esp, ebp
pop ebp
ret