Function at 0x4022b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, edi
mov esi, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], ecx
mov cl, byte [esp + 0x48]
test cl, 2
je 0x4024ff
mov eax, dword [esp + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, dword [sym.imp.USER32.dll_FillRect]
test eax, eax
je 0x402374
mov ecx, dword [esp + 0x28]
push 0xf
sub ecx, 2
mov dword [esp + 0x2c], ecx
call ebx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CBrush::CBrush
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0x409df0
inc eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x3c], 0xffffffff
jmp 0x402378
dec dword [esp + 0x30]
push 0xf
call ebx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CBrush::CBrush
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], 1
neg eax
sbb eax, eax
and eax, edx
push eax
push edi
push ecx
call ebp
push 0x40e788
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
dec edx
mov ecx, esi
push edx
push eax
call sub.MFC42u.DLL_CDC::LineTo
push 0x40e768
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add ecx, 0xfffffffe
inc edx
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
dec ecx
inc edx
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
dec eax
dec ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add edx, 0xfffffffe
add eax, 0xfffffffe
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add edx, 0xfffffffe
dec eax
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
dec ecx
dec edx
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
push 0x40e780
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add ecx, 2
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add edx, 0xfffffffe
mov ecx, esi
push edx
push eax
call sub.MFC42u.DLL_CDC::LineTo
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
dec ecx
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 0x409df0
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 2
lea ecx, [esp + 0x1c]
jmp 0x402658
test cl, 1
je 0x402669
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CBrush::CBrush
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], 3
test eax, eax
je 0x402557
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
inc edx
neg eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], edx
sbb eax, eax
and eax, ebp
push eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
dec dword [esp + 0x30]
jmp 0x402580
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
add edx, 2
neg eax
sbb eax, eax
mov dword [esp + 0x28], edx
and eax, ebp
lea edx, [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
push 0x40e788
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add ecx, 2
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ecx, 2
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
push 0x40e768
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
dec edx
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
dec edx
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
push 0x40e780
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc eax
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov dword [esp + 0x14], 0x409df0
mov dword [esp + 0x3c], 4
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x24]
mov edi, 5
sub eax, 2
add ecx, edi
mov dword [esp + 0x2c], eax
sub eax, ecx
cmp eax, 0x10
mov dword [esp + 0x24], ecx
jle 0x4026b4
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4026b4
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x40]
add eax, 3
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
add dword [esp + 0x24], 0x12
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
lea eax, [edx + 8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x4027db
mov edx, dword [esp + 0x28]
push eax
add edx, edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], edx
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], edi
xor edi, edi
mov ebx, dword [eax - 8]
lea ebp, [ebx - 2]
jmp 0x4026f3
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub ecx, edx
cmp eax, ecx
jle 0x402751
lea edx, [esp + 0x48]
push ebp
push edx
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 6
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 5
call fcn.00407b56
inc edi
sub ebx, 2
sub ebp, 2
cmp edi, 0xa
jl 0x4026ef
test edi, edi
jle 0x4027b3
add ebx, 0xfffffffe
lea eax, [esp + 0x48]
push ebx
push eax
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 7
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 5
call fcn.00407b56
push 0x40e4e4
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 8
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 5
call fcn.00407b56
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
lea edi, [esp + 0x24]
push 0x20
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00407b56
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc