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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
cmp byte [ebp + 0x12], 0
push esi
push edi
je 0x419bf0
test byte [ebp + 0x10], 2
je 0x419bf0
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [ebp + 0x11], 0
je 0x41996b
mov edx, dword [ebp + 0x28]
cmp word [edx], 0
je 0x419bf0
movsx eax, byte [ebp + 0x16]
add eax, eax
mov ebx, eax
sub ebx, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
add ebx, dword [esp + 0x24]
add eax, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x419993
cmp byte [ebp + 0x16], 0
je 0x419bf0
movsx eax, byte [ebp + 0x16]
add eax, eax
mov ebx, eax
sub ebx, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
add ebx, dword [esp + 0x24]
add eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov esi, eax
push 0x2c
lea eax, [esp + 0x88]
push 0
push eax
call fcn.00477820
add esp, 0xc
mov eax, esi
imul eax, ebx
push 0
mov ecx, 1
push 0
mov word [esp + 0x98], cx
lea ecx, [esp + 0x34]
push ecx
mov edx, 0x20
mov word [esp + 0x9e], dx
push 0
lea edx, [esp + 0x94]
add eax, eax
push edx
add eax, eax
push 0
mov dword [esp + 0x9c], 0x28
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x419a1d
call fcn.004198d0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [esp + 0x40], edi
test edi, edi
jne 0x419a34
call fcn.004198d0
mov eax, dword [esp + 0x30]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x419a53
call fcn.004198d0
cmp byte [ebp + 0x11], 0
je 0x419b0f
mov ecx, dword [ebp + 4]
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x70], esi
mov esi, dword [ebp + 0x28]
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
call fcn.00409cf0
xor ecx, ecx
cmp eax, ecx
je 0x419bf0
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x10]
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0xac]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0xb0]
push ecx
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 0xb4]
push 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
movzx ecx, byte [eax + 0x14]
mov dword [esp + 0x88], edx
mov edx, dword [ebp + 0xb8]
push 0xff
push ecx
mov dword [esp + 0x94], edx
lea edx, [esp + 0x68]
push edx
mov ecx, edx
mov edx, dword [eax]
push ecx
push edx
push edi
lea eax, [esp + 0x98]
lea edi, [esp + 0x68]
call fcn.00430f00
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
add esp, 0x24
jmp 0x419b3d
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x2c]
push eax
push 0
push ecx
call fcn.00477820
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x38]
add esp, 0xc
push edx
push eax
push ebp
lea eax, [esp + 0x28]
call fcn.00419c00
cmp byte [ebp + 0x11], 0
movsx edx, byte [ebp + 0x16]
je 0x419b55
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub eax, edx
sub ecx, edx
jmp 0x419b69
movsx eax, byte [ebp + 0x17]
movsx ecx, byte [ebp + 0x18]
sub eax, edx
add eax, dword [esp + 0x1c]
sub ecx, edx
add ecx, dword [esp + 0x20]
xor edx, edx
push edx
push esi
push ebx
push ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0xff
mov byte [esp + 0x2f], 1
call dword [sym.imp.USER32.dll_MoveWindow]
push 2
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esp + 0x3c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8