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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x5700c4]
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 0x45fb8d
test byte [esi + 0x10], 2
je 0x45fb8d
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
cmp byte [esi + 0x11], cl
je 0x45f950
mov eax, dword [esi + 0x28]
cmp word [eax], cx
je 0x45fb8d
movsx ebx, byte [esi + 0x16]
jmp 0x45f95e
mov al, byte [esi + 0x16]
test al, al
je 0x45fb8d
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.004e7ca0
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 0x45f9eb
call fcn.0045f8a8
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45fa04
call fcn.0045f8a8
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 0x45fa22
call fcn.0045f8a8
cmp byte [esi + 0x11], 0
je 0x45fac4
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.0043ea56
mov edx, eax
test edx, edx
je 0x45fb8d
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x68]
add esi, 0xac
stosd dword es:[edi], eax
push 0
push 0
push 1
stosd dword es:[edi], eax
push 0xff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [edx + 0xc]
lea edi, [esp + 0xb4]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x10]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x84], eax
movsd dword es:[edi], dword [esi]
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.0045a9e3
mov esi, dword [esp + 0x40]
add esp, 0x24
mov edi, dword [esp + 0x14]
jmp 0x45faed
push dword [esp + 0x8c]
push 0
push dword [esp + 0x30]
call fcn.004e7ca0
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.0045fba4
cmp byte [esi + 0x11], 0
movsx eax, byte [esi + 0x16]
je 0x45fb05
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub ecx, eax
sub edx, eax
jmp 0x45fb19
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.004e5245
mov esp, ebp
pop ebp
ret 4