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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x6ce488]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
je 0x431933
mov eax, dword [esi + 0x24]
cmp word [eax], 0
je 0x431b4f
mov ebx, dword [esi + 0xb0]
sub ebx, dword [esp + 0x50]
mov edi, dword [esi + 0xb4]
add ebx, dword [esi + 0xa8]
add edi, dword [esi + 0xac]
jmp 0x431949
mov al, byte [esi + 0x15]
test al, al
je 0x431b4f
movsx edi, al
add edi, edi
mov ebx, edi
sub ebx, dword [esp + 0x50]
sub edi, dword [esp + 0x54]
xorps xmm0, xmm0
add edi, dword [esp + 0x5c]
add ebx, dword [esp + 0x58]
mov eax, edi
imul eax, ebx
push 0
push 0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
shl eax, 2
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x80]
mov dword [esp + 0xa8], 0
push eax
push 0
mov dword [esp + 0x88], 0x28
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], 0x200001
mov dword [esp + 0x98], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x431b4f
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esi + 0x11], 0
mov dword [esp + 0x2c], eax
je 0x431a77
mov ecx, dword [esi + 4]
push 0
push 0
push 0
push dword [esi + 0x24]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
call fcn.004271f0
mov edx, eax
test edx, edx
je 0x431b4f
movzx eax, byte [edx + 0x14]
xorps xmm0, xmm0
mov ecx, dword [edx + 0xc]
push 0
push 0
push 1
push 0xff
push eax
lea eax, [esi + 0xa8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 0x10]
mov edx, dword [edx]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x7c]
movlpd qword [esp + 0x5c], xmm0
push eax
push eax
call fcn.00437ed0
add esp, 0x24
jmp 0x431aa0
push dword [esp + 0x84]
push 0
push dword [esp + 0x1c]
call fcn.005feb40
add esp, 0xc
lea eax, [esp + 0x50]
mov ecx, esi
push eax
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.00431b70
cmp byte [esi + 0x11], 0
je 0x431abc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub ecx, dword [esi + 0xa8]
sub edx, dword [esi + 0xac]
jmp 0x431ad4
movsx eax, byte [esi + 0x15]
movsx ecx, byte [esi + 0x16]
movsx edx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [esp + 0x50]
sub edx, eax
add edx, dword [esp + 0x54]
push 0
push edi
push ebx
push edx
push ecx
push dword [esi + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], 0x1ff0000
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 2
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push dword [esi + 8]
call dword [0x6d924c]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 4