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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441878
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.GDI32.dll_SaveDC]
push 1
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xb0]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, edi
mov dword [esp + 0x2c], eax
call fcn.00421070
mov eax, dword [edi + 0xb4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
xor esi, esi
push 0xffffffffffffffff
mov dword [esp + 0x38], eax
mov word [esp + 0x6c], cx
lea eax, [edi + 0x70]
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
call fcn.00404c70
mov dword [esp + 0x90], esi
cmp dword [esp + 0x7c], 8
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jae 0x420d32
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push 0x400
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp byte [edi + 0xc0], 0
mov ecx, dword [esp + 0x20]
mov edx, eax
je 0x420d82
mov eax, dword [edi + 0xc4]
cmp eax, esi
jle 0x420d76
mov esi, ecx
sub esi, dword [esp + 0x18]
cmp esi, eax
jle 0x420d76
mov esi, dword [edi + 4]
add esi, eax
mov dword [edi + 0xc], esi
jmp 0x420d82
mov eax, dword [edi + 4]
sub eax, dword [esp + 0x18]
add eax, ecx
mov dword [edi + 0xc], eax
cmp ecx, dword [edi + 0xc]
jle 0x420e91
xor ecx, ecx
cmp dword [edi + 0x84], ecx
mov dword [esp + 0x10], ecx
jle 0x420e91
jmp 0x420da4
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x420dbd
push 3
mov eax, 0x448818
lea esi, [esp + 0x68]
call fcn.00404d60
jmp 0x420e48
lea eax, [edi + 0x70]
push eax
xor edx, edx
lea esi, [esp + 0x4c]
call fcn.0040d820
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 1
call fcn.00404c70
mov byte [esp + 0x90], 0
cmp dword [esp + 0x60], 8
jb 0x420dfd
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00427b5c
add esp, 4
lea edx, [esp + 0x64]
push edx
mov ebx, 0x448818
lea esi, [esp + 0x4c]
call fcn.00412830
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 2
call fcn.00404c70
mov byte [esp + 0x90], 0
cmp dword [esp + 0x60], 8
jb 0x420e44
mov eax, dword [esp + 0x4c]
push eax
call fcn.00427b5c
add esp, 4
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x420e57
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push 0x400
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, eax
mov eax, dword [esp + 0x20]
add eax, 0x10
cmp eax, dword [edi + 0xc]
jg 0x420e91
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x84]
mov dword [esp + 0x10], eax
jl 0x420da0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 8]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
mov dword [esp + 0x40], ecx
push 0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
jae 0x420ed9
lea eax, [esp + 0x68]
mov edx, dword [edi + 0xbc]
push edx
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x34]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x28]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x30]
push eax
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp dword [esp + 0x7c], esi
jb 0x420f35
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00427b5c
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00427b67
mov esp, ebp
pop ebp
ret 4