Function at 0x401610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42af56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2a8]
push edi
mov ebx, ecx
mov eax, dword [esi + 0x18]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ecx, dword [esi + 0x2c]
mov ebp, eax
xor eax, eax
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0x42ff4c
mov dword [esp + 0x2a4], eax
call fcn.00401380
neg eax
sbb eax, eax
and eax, 0xb
add eax, 4
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esi + 0x10]
test al, 2
je 0x40169f
mov ecx, dword [0x43c054]
test ecx, ecx
jne 0x40169f
test al, 1
je 0x40169f
and al, 0xfe
mov dword [esi + 0x10], eax
test edi, 0x800
je 0x4016fe
add esi, 0x1c
lea edx, [esp + 0x18]
push esi
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
mov ecx, dword [ebp + 4]
sbb eax, eax
and eax, ebx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edx, eax
push 2
sar edx, 1
add eax, edx
push 6
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x402304
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
xor esi, esi
push 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x14], esi
call edi
mov dword [esp + 0x90], eax
call fcn.00401380
neg eax
sbb eax, eax
and eax, 0xb
add eax, 4
push eax
call edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], 0x42ff4c
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0x42ff38
or eax, 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], 0x42ff24
mov byte [esp + 0x2a4], 3
call fcn.00401380
neg eax
sbb eax, eax
and eax, 0xb
add eax, 4
push eax
call edi
push eax
push esi
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xd
call edi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x148]
push esi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd4]
push edx
push 0x154
push 0x29
rep stosd dword es:[edi], eax
mov dword [esp + 0x158], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, 0xf
lea esi, [esp + 0x1e8]
lea edi, [esp + 0xd0]
lea eax, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x2ac]
lea edx, [esp + 0x18]
lea ecx, [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0xf
lea esi, [esp + 0xd0]
lea edi, [esp + 0x10c]
mov dword [esp + 0x4c], 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], 0x42ff24
mov edx, dword [esp + 0x2ac]
mov byte [esp + 0x2a4], 5
mov ecx, dword [edx + 0x2c]
test ecx, ecx
je 0x40193b
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x2c], esi
push eax
mov dword [esp + 0x70], edx
call fcn.004010f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a8], 6
call fcn.00429cec
lea ecx, [esp + 0x68]
mov byte [esp + 0x2a4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
test al, 8
je 0x401915
test esi, esi
jge 0x401915
test al, 1
je 0x401904
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jle 0x401904
mov dword [esp + 0x10], 1
jmp 0x401948
mov ecx, dword [ebx + 0x50]
test ecx, ecx
jle 0x401948
mov dword [esp + 0x10], 1
jmp 0x401948
cmp esi, 0xffffffff
je 0x401948
mov ecx, 1
test cl, al
mov dword [esp + 0x38], ecx
je 0x401931
test al, 2
jne 0x401935
mov dword [esp + 0x64], ecx
jmp 0x401948
test al, 2
je 0x401948
mov dword [esp + 0x70], ecx
jmp 0x401948
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x74]
and eax, 1
push ecx
mov dword [esp + 0x6c], eax
mov ecx, ebp
je 0x401a20
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40198a
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x40198a
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x40198a
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40198a
test byte [esp + 0x14], 8
je 0x4019b0
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
lea eax, [edx + eax + 5]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
lea edx, [esp + 0x60]
push eax
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x80]
neg eax
mov ecx, dword [ebp + 4]
mov edi, dword [sym.imp.USER32.dll_FillRect]
sbb eax, eax
and eax, edx
push eax
lea eax, [esp + 0x58]
push eax
push ecx
call edi
push esi
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_1
lea edx, [esp + 0x48]
test edx, edx
je 0x4019f7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4019f7
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x90], eax
jmp 0x401a92
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x34]
mov esi, eax
lea eax, [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_FillRect]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x18]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call edi
push esi
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push eax
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::Draw3dRect
lea edx, [esp + 0x48]
test edx, edx
je 0x401a7a
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x401a7a
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [ebx + 0x34]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
sub eax, ecx
sub eax, esi
sub eax, 4
cdq
sub eax, edx
mov edx, 0
sar eax, 1
sets dl
dec edx
and edx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, edx
jne 0x401ada
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x401ada
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x401ada
mov eax, dword [esp + 0x70]
test eax, eax
je 0x401ee3
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x30]
add ecx, esi
lea eax, [ecx + eax + 3]
mov ecx, dword [esp + 0x18]
push eax
lea edx, [edx + ecx + 3]
inc ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
lea edx, [esi + edx + 1]
push eax
push edx
push ecx
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
push eax
push eax
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::Draw3dRect
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401bf9
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x401bf9
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
lea edx, [esi + eax]
add eax, esi
lea ecx, [edx + ecx + 4]
mov edx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx + 4]
push edi
push eax
push edx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x50]
mov ecx, ebp
push eax
push eax
lea eax, [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::Draw3dRect
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [ebx + 0x44]
lea eax, [esi + ecx + 2]
lea ecx, [edx + 2]
mov edx, dword [esp + 0x68]
test edx, edx
je 0x401bd1
test ebp, ebp
jne 0x401bbe
push 1
xor edx, edx
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push 1
push eax
jmp 0x401edd
mov edx, dword [ebp + 4]
push 1
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push 1
push eax
jmp 0x401edd
test ebp, ebp
jne 0x401be6
push 1
xor edx, edx
push eax
push ecx
mov ecx, dword [edi + 4]
push edx
push edx
push ecx
jmp 0x401edd
mov edx, dword [ebp + 4]
push 1
push eax
push ecx
mov ecx, dword [edi + 4]
push edx
push 0
push ecx
jmp 0x401edd
mov eax, dword [esp + 0x70]
test eax, eax
mov eax, dword [esp + 0x64]
je 0x401ca4
test eax, eax
jne 0x401ee3
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
lea edx, [esi + eax]
add eax, esi
lea ecx, [edx + ecx + 4]
mov edx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx + 4]
push edi
push eax
push edx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x50]
mov ecx, ebp
push eax
push eax
lea eax, [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::Draw3dRect
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x401ee3
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
add edx, 2
test eax, eax
lea ecx, [esi + ecx + 2]
je 0x401ee3
test ebp, ebp
jne 0x401c8d
push 1
xor eax, eax
push ecx
push edx
push eax
mov eax, dword [esp + 0x7c]
push 1
mov ecx, dword [eax + 4]
push ecx
jmp 0x401edd
mov eax, dword [ebp + 4]
push 1
push ecx
push edx
push eax
mov eax, dword [esp + 0x7c]
push 1
mov ecx, dword [eax + 4]
push ecx
jmp 0x401edd
test eax, eax
je 0x401d83
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x54]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
lea ecx, [esi + eax]
add eax, esi
lea ecx, [ecx + edx + 4]
mov edx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx + 4]
push edi
push eax
lea eax, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
call fcn.00401380
test eax, eax
je 0x401d33
test byte [esp + 0x14], 8
je 0x401d17
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call edi
push eax
push 0x10
call edi
lea ecx, [esp + 0x58]
push eax
push ecx
jmp 0x401d2c
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call edi
push eax
push 0x14
call edi
lea edx, [esp + 0x58]
push eax
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::Draw3dRect
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
add edx, 2
test edi, edi
lea ecx, [esi + eax + 2]
je 0x401ee3
test ebp, ebp
jne 0x401d6a
push 1
xor eax, eax
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
jmp 0x401edd
mov eax, dword [ebp + 4]
push 1
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
jmp 0x401edd
test byte [esp + 0x14], 8
je 0x401e54
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x42ff4c
push 0x16
mov byte [esp + 0x2a8], 7
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x54]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call edi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
lea ecx, [esi + eax]
add eax, esi
lea ecx, [ecx + edx + 4]
mov edx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx + 4]
push edi
push eax
lea eax, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
call fcn.00401380
test eax, eax
je 0x401e31
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call edi
push eax
push 0x10
call edi
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::Draw3dRect
mov dword [esp + 0x38], 0x42ff10
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a4], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x2a4], 5
jmp 0x401eaa
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x54]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
lea ecx, [esi + eax]
add eax, esi
lea ecx, [ecx + edx + 4]
mov edx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx + 4]
push edi
push eax
lea eax, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
push eax
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::Draw3dRect
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea edi, [eax + 2]
mov eax, dword [esp + 0x6c]
test eax, eax
lea edx, [esi + edx + 2]
je 0x401ee3
test ebp, ebp
jne 0x401ec9
xor ecx, ecx
jmp 0x401ecc
mov ecx, dword [ebp + 4]
push 1
push edx
mov edx, dword [eax + 4]
push edi
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x2c]
test eax, eax
jge 0x401f92
test byte [esp + 0x14], 8
je 0x401f92
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x401f92
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x34]
mov edx, dword [esp + 0x18]
lea eax, [esi + edi]
lea esi, [esi + edi + 2]
lea eax, [eax + ecx + 2]
mov ecx, dword [ebx + 0x30]
push eax
lea ecx, [ecx + edx + 1]
inc edx
push ecx
push esi
push edx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], 0x2c
push eax
mov eax, dword [esp + 0x2b0]
push 0
mov dword [esp + 0xb0], 8
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x68]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.00405920
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 9]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402248
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 9
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 0xa
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
push 9
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, 0xffffffff
je 0x40209b
lea eax, [esi + 1]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a8], 0xb
call fcn.00429cec
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a4], 0xa
call sub.MFC42.DLL_CString::CString
push 9
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 0xc
call fcn.00429cec
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a4], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x4020a9
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.00429cec
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkMode]
push 1
mov ecx, ebp
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esp + 0x2ac]
test byte [eax + 0x10], 2
jne 0x402103
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
lea edi, [esp + 0x38]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
cmp esi, 0xffffffff
je 0x402202
jmp 0x4021ea
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4021c0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov ebx, dword [ebp]
inc eax
inc edx
inc ecx
inc edi
mov dword [esp + 0xa0], edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], ecx
call edi
push eax
mov ecx, ebp
call dword [ebx + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
lea ebx, [esp + 0x94]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
cmp esi, 0xffffffff
je 0x402194
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
lea ebx, [esp + 0x94]
push 0x26
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov ebx, dword [ebp]
push 0x11
call edi
push eax
mov ecx, ebp
call dword [ebx + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
lea edi, [esp + 0x38]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
cmp esi, 0xffffffff
je 0x402202
jmp 0x4021ea
mov ecx, dword [esp + 0x50]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
lea edi, [esp + 0x38]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
cmp esi, 0xffffffff
je 0x402202
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
lea esi, [esp + 0x38]
push 0x26
mov ecx, dword [eax - 8]
push esi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, ebp
push edx
mov esi, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x30]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x42ff10
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a4], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x42fefc
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], esi
mov byte [esp + 0x2a4], 3
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x88], edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x2a4], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x88], esi
mov dword [esp + 0x74], edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x2a4], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x2a4], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x2a4], 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], 0x42ff10
lea ecx, [esp + 0x30]
mov dword [esp + 0x2a4], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 4