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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x14c], bl
je 0x43206b
mov ecx, dword [edi + 0x13c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [edi + 0x14c], bl
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0xf4]
cmp ecx, ebx
je 0x43203d
mov esi, dword [esp + 0x18]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xcc]
call eax
mov eax, dword [edi + 0x144]
cmp eax, ebx
je 0x43204e
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x148]
cmp eax, ebx
je 0x43205f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x144], ebx
mov dword [edi + 0x148], ebx
cmp byte [edi + 0x168], 0
je 0x432129
cmp byte [edi + 0x14c], 0
mov byte [edi + 0x168], 0
je 0x4320b6
cmp byte [edi + 0xa], 0
mov byte [edi + 0x168], 1
je 0x4320a5
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, edi
call fcn.00431fc0
jmp 0x432129
mov edx, dword [edi + 0x13c]
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x432129
mov ecx, dword [edi + 0xf4]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x5c], eax
push Ordinal_4
lea eax, [esp + 0x60]
mov byte [esp + 0x68], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push eax
push 0x432440
call edx
cmp eax, ebx
jne 0x432122
mov ecx, dword [edi + 0xf4]
xor eax, eax
mov dword [esp + 0x20], eax
push Ordinal_4
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
push edx
push 0x432440
call eax
cmp eax, ebx
je 0x432129
mov esi, eax
call fcn.0042ecd0
cmp byte [edi + 9], 0
je 0x432159
mov ecx, dword [edi + 0xf4]
lea edx, [esp + 0x18]
push edx
mov esi, edi
mov byte [edi + 9], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0042fc80
cmp byte [edi + 0xa4], 0
je 0x4321e2
mov ecx, dword [edi + 0xf4]
push Ordinal_4
mov byte [edi + 0xa4], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
push ebx
push 0x4324a0
call edx
mov esi, eax
cmp esi, ebx
je 0x4321e2
jmp 0x432190
mov ebx, dword [esi]
mov eax, dword [ebx + 0xc8]
mov ecx, esi
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xcc]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0xf4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
push Ordinal_4
push 0
push 0x4324a0
call edx
mov esi, eax
test esi, esi
jne 0x432190
xor ebx, ebx
cmp dword [edi + 0x148], ebx
jne 0x4322ca
mov ecx, dword [edi + 0x13c]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x18], ebx
jne 0x432233
cmp dword [esp + 0x20], ebx
jne 0x432233
cmp dword [esp + 0x1c], ebx
jne 0x432233
cmp dword [esp + 0x24], ebx
jne 0x432233
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 0x140]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov dword [edi + 0x144], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
push ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x44], eax
push ebx
lea eax, [esp + 0x44]
push eax
push ebx
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x54], ecx
mov word [esp + 0x58], 1
mov word [esp + 0x5a], 0x20
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp dword [esp + 0x10], ebx
mov dword [edi + 0x148], eax
je 0x432228
mov eax, dword [ebp + 8]
cmp eax, ebx
jl 0x4322d6
cmp eax, 0x64
jle 0x4322dd
mov dword [ebp + 8], 0x64
fild dword [ebp + 8]
lea edx, [esp + 0x70]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul qword [str.ffffff]
or eax, 0xc00
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x13c]
push edx
fldcw word [esp + 0x10]
push eax
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1f], 1
fistp dword [esp + 0x14]
mov cl, byte [esp + 0x14]
mov byte [esp + 0x1e], cl
fldcw word [esp + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x13c]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x13c]
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4323af
mov edx, dword [edi + 0x13c]
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0x148]
mov ecx, dword [edi + 0x144]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call esi
mov ecx, dword [edi + 0xf4]
cmp ecx, ebx
mov dword [esp + 0xc], eax
je 0x4323e9
mov edx, dword [ecx]
mov edx, dword [edx + 0xb0]
lea eax, [esp + 0x70]
push eax
mov eax, dword [edi + 0x144]
push eax
call edx
mov edx, dword [edi + 0x144]
push 2
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x94]
push ecx
push edx
mov edx, dword [edi + 0x140]
lea eax, [esp + 0x94]
push eax
mov eax, dword [edi + 0x13c]
lea ecx, [esp + 0x80]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x144]
push ecx
push edx
mov ebx, eax
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4