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

Disassembly:
push 0xffffffffffffffff
push 0x4249d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4339c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
call sub.mfc90.dll_Ordinal_367
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
xor ebx, ebx
push 0x10
mov dword [esp + 0x7c], ebx
call ebp
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.00411fe0
test eax, eax
jne 0x412e05
fld qword [0x4290a0]
sub esp, 8
fstp qword [esp]
push esi
call fcn.0040fda0
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call edi
push eax
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_1357
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x2c]
push esi
push edx
call sub.mfc90.dll_Ordinal_6074
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], eax
call sub.mfc90.dll_Ordinal_367
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBrush.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
push ebx
mov byte [esp + 0x7c], 3
call edi
push eax
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_1357
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_1358
push 0xf
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x1c]
call sub.mfc90.dll_Ordinal_1358
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call sub.mfc90.dll_Ordinal_6074
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], edx
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
push edx
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.GDI32.dll_GetPixel]
push 1
push 1
push ecx
call ebp
lea ecx, [esp + 0x18]
mov ebx, eax
call sub.mfc90.dll_Ordinal_2106
test esi, esi
je 0x412f0d
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x3c]
push esi
push edx
call sub.mfc90.dll_Ordinal_6074
xor edi, edi
cmp dword [esp + 0x5c], edi
jle 0x412f5f
mov eax, dword [esp + 0x60]
xor esi, esi
test eax, eax
jle 0x412f58
lea ebx, [ebx]
mov eax, dword [esp + 0x2c]
push esi
push edi
push eax
call ebp
cmp eax, ebx
je 0x412f4f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push ecx
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x60]
inc esi
cmp esi, eax
jl 0x412f30
inc edi
cmp edi, dword [esp + 0x5c]
jl 0x412f24
mov eax, dword [esp + 0x80]
test eax, eax
je 0x412f6d
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.mfc90.dll_Ordinal_6074
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 2
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00402420
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 1
mov dword [esp + 0x18], vtable.CBrush.0
call fcn.00402420
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call sub.mfc90.dll_Ordinal_636
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0xffffffff
call sub.mfc90.dll_Ordinal_636
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4