Function at 0x4c2b8a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x58a06c]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
push edi
mov dword [esp + 0x2c], esi
cmp byte [esi + 0x12], 0
je 0x4c2e36
test byte [esi + 0x10], 2
je 0x4c2e36
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
cmp byte [esi + 0x11], cl
je 0x4c2bed
mov eax, dword [esi + 0x28]
cmp word [eax], cx
je 0x4c2e36
movsx ebx, byte [esi + 0x16]
jmp 0x4c2bfb
mov al, byte [esi + 0x16]
test al, al
je 0x4c2e36
movsx ebx, al
xor eax, eax
mov dword [esp + 0x90], ecx
inc eax
mov dword [esp + 0x68], 0x28
push 0x20
mov word [esp + 0x78], ax
add ebx, ebx
pop eax
mov edi, ebx
mov word [esp + 0x76], ax
sub ebx, dword [esp + 0x4c]
xorps xmm0, xmm0
add ebx, dword [esp + 0x54]
sub edi, dword [esp + 0x48]
mov eax, ebx
add edi, dword [esp + 0x50]
imul eax, edi
push ecx
push ecx
mov dword [esp + 0x20], edi
movlpd qword [esp + 0x88], xmm0
shl eax, 2
mov dword [esp + 0x84], eax
lea eax, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x78]
movlpd qword [esp + 0x98], xmm0
push eax
push ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], ecx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4c2c8c
call fcn.004c2b5a
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c2ca5
call fcn.004c2b5a
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4c2cc3
call fcn.004c2b5a
cmp byte [esi + 0x11], 0
je 0x4c2d70
mov ecx, dword [esi + 4]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [esi + 0x28]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
call fcn.004842f0
mov edx, eax
test edx, edx
je 0x4c2e36
add esi, 0xac
lea edi, [esp + 0xa4]
xorps xmm0, xmm0
movlpd qword [esp + 0x94], xmm0
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx + 0x10]
movsd dword es:[edi], dword [esi]
push 0
push 0
push 1
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x20]
push 0xff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, byte [edx + 0x14]
mov edx, dword [edx]
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
push eax
call fcn.004a7b1a
mov esi, dword [esp + 0x50]
add esp, 0x24
mov edi, dword [esp + 0x18]
jmp 0x4c2d96
push dword [esp + 0x7c]
push 0
push dword [esp + 0x24]
call fcn.00504db0
add esp, 0xc
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
call fcn.004c2e4d
cmp byte [esi + 0x11], 0
movsx eax, byte [esi + 0x16]
je 0x4c2dae
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub ecx, eax
sub edx, eax
jmp 0x4c2dc2
movsx ecx, byte [esi + 0x17]
movsx edx, byte [esi + 0x18]
sub ecx, eax
add ecx, dword [esp + 0x48]
sub edx, eax
add edx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x28], edx
push eax
push ebx
push edi
push edx
push ecx
push dword [esi + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], 0x1ff0000
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 2
push eax
push 0
lea eax, [esp + 0x44]
push eax
push ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x34]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
call dword [0x53e094]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 4