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

Disassembly:
push 0xffffffffffffffff
push 0x4e6d66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xf4], ebx
call fcn.00428170
push ecx
lea eax, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0xfc], 1
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x60]
call fcn.00428380
cmp ax, bx
jl 0x42db93
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x10], eax
add eax, ecx
push 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x18], eax
add eax, edx
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xf4], 2
je 0x42da1f
push 0xd2d2d2
mov ecx, eax
call sub.MFC42.DLL_CBrush::CBrush
mov esi, eax
jmp 0x42da21
xor esi, esi
cmp esi, ebx
mov byte [esp + 0xf4], 1
jne 0x42da31
xor eax, eax
jmp 0x42da34
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x100]
push eax
lea eax, [esp + 0x14]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
cmp esi, ebx
je 0x42da58
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
inc ecx
dec eax
inc esi
dec edx
mov dword [esp + 0x14], esi
mov esi, 0x4f67d8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], 0x9999999a
mov dword [esp + 0x48], 0x3fa99999
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xa
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
push ecx
push 1
push 1
push ebx
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x10c], 3
call fcn.00428ab0
cmp dword [esp + 0x30], ebx
je 0x42db3b
lea edx, [esp + 0x24]
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, ebp
call fcn.0042cba0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x44]
push ecx
push edi
call fcn.00475bb0
add esp, 0x28
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov ebp, dword [esp + 0x28]
mov byte [esp + 0xf4], 4
cmp ebp, ebx
je 0x42db6c
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x2c
mov eax, edi
dec edi
test eax, eax
jne 0x42db54
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42db4f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], 0x4f4f00
jmp 0x42db97
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf4], bl
call fcn.004282b0
lea ecx, [esp + 0xfc]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe8
ret 0x18