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

Disassembly:
push 0xffffffffffffffff
push 0x4a43c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00488638
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x54]
push eax
push 0x18
xor ebp, ebp
push ecx
mov dword [esp + 0x80], ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
call edi
push eax
lea ecx, [esp + 0x28]
call fcn.00488b14
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.00488e9a
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
call fcn.00488638
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], vtable.CBrush.0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], vtable.CBitmap.0
push ebp
mov byte [esp + 0x78], 3
call edi
push eax
lea ecx, [esp + 0x38]
call fcn.00488b14
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.00488e11
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.00488e11
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.00488e9a
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], edx
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_FillRect]
push 1
push 1
mov ecx, dword [esp + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_GetPixel]
push ecx
call ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], eax
call fcn.00488e68
cmp esi, ebp
jne 0x431c77
xor esi, esi
jmp 0x431c7a
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x38]
push esi
push edx
call fcn.00488e9a
mov eax, dword [esp + 0x58]
xor edi, edi
cmp eax, ebp
jle 0x431ce6
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x5c]
lea esp, [esp]
xor esi, esi
test eax, eax
jle 0x431cdb
mov eax, dword [esp + 0x28]
push esi
push edi
push eax
call ebx
cmp eax, dword [esp + 0x7c]
je 0x431cd2
push 0x3fd33333
push 0x33333333
push eax
call fcn.00430410
mov ecx, dword [esp + 0x34]
add esp, 0xc
push eax
push esi
push edi
push ecx
call ebp
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, eax
jl 0x431ca6
mov ecx, dword [esp + 0x58]
inc edi
cmp edi, ecx
jl 0x431ca0
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x431cf2
xor eax, eax
jmp 0x431cf5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.00488e9a
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 2
mov dword [esp + 0x1c], esi
call fcn.00488e68
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 1
mov dword [esp + 0x14], esi
call fcn.00488e68
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0
call fcn.00488b92
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0xffffffff
call fcn.00488b92
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4