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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x578134]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x1c], esi
cmp byte [esi + 0x12], 0
je 0x465716
test byte [esi + 0x10], 2
je 0x465716
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
cmp byte [esi + 0x11], cl
je 0x4654dd
mov eax, dword [esi + 0x28]
cmp word [eax], cx
je 0x465716
movsx ebx, byte [esi + 0x16]
jmp 0x4654eb
mov al, byte [esi + 0x16]
test al, al
je 0x465716
movsx ebx, al
add ebx, ebx
lea eax, [esp + 0x78]
mov edi, ebx
sub ebx, dword [esp + 0x34]
sub edi, dword [esp + 0x30]
add edi, dword [esp + 0x38]
add ebx, dword [esp + 0x3c]
push 0x2c
push ecx
push eax
mov dword [esp + 0x20], edi
call fcn.004eddc0
add esp, 0xc
mov dword [esp + 0x78], 0x28
xor eax, eax
mov dword [esp + 0x7c], edi
inc eax
mov dword [esp + 0x80], ebx
mov word [esp + 0x84], ax
xor ecx, ecx
push 0x20
pop eax
mov word [esp + 0x86], ax
mov eax, ebx
imul eax, edi
push ecx
push ecx
mov dword [esp + 0x90], ecx
shl eax, 2
mov dword [esp + 0x94], eax
lea eax, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x465578
call fcn.00465435
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x465591
call fcn.00465435
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4655af
call fcn.00465435
cmp byte [esi + 0x11], 0
je 0x46564d
mov ecx, dword [esi + 4]
xor eax, eax
push eax
push eax
push eax
push eax
push dword [esi + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
call fcn.00444689
mov edx, eax
test edx, edx
je 0x465716
add esi, 0xac
lea edi, [esp + 0xa4]
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x70], 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 + 0x80], ecx
mov ecx, dword [esp + 0x1c]
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 + 0x80]
push eax
lea eax, [esp + 0x74]
push eax
push eax
call fcn.00460598
mov esi, dword [esp + 0x40]
add esp, 0x24
mov edi, dword [esp + 0x14]
jmp 0x465676
push dword [esp + 0x8c]
push 0
push dword [esp + 0x30]
call fcn.004eddc0
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.0046572d
cmp byte [esi + 0x11], 0
movsx eax, byte [esi + 0x16]
je 0x46568e
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub ecx, eax
sub edx, eax
jmp 0x4656a2
movsx ecx, byte [esi + 0x17]
movsx edx, byte [esi + 0x18]
sub ecx, eax
add ecx, dword [esp + 0x30]
sub edx, eax
add edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x44], edx
push eax
push ebx
push edi
push edx
push ecx
push dword [esi + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], 0x1ff0000
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push 2
push eax
push 0
lea eax, [esp + 0x54]
push eax
push ebx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
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.004eacf5
mov esp, ebp
pop ebp
ret 4