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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442188
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4531a0]
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.004210a0
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.00405010
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 0x420d62
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 0x420db2
mov eax, dword [edi + 0xc4]
cmp eax, esi
jle 0x420da6
mov esi, ecx
sub esi, dword [esp + 0x18]
cmp esi, eax
jle 0x420da6
mov esi, dword [edi + 4]
add esi, eax
mov dword [edi + 0xc], esi
jmp 0x420db2
mov eax, dword [edi + 4]
sub eax, dword [esp + 0x18]
add eax, ecx
mov dword [edi + 0xc], eax
cmp ecx, dword [edi + 0xc]
jle 0x420ec1
xor ecx, ecx
cmp dword [edi + 0x84], ecx
mov dword [esp + 0x10], ecx
jle 0x420ec1
jmp 0x420dd4
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x420ded
push 3
mov eax, 0x4498d8
lea esi, [esp + 0x68]
call fcn.00405100
jmp 0x420e78
lea eax, [edi + 0x70]
push eax
xor edx, edx
lea esi, [esp + 0x4c]
call fcn.0040dea0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 1
call fcn.00405010
mov byte [esp + 0x90], 0
cmp dword [esp + 0x60], 8
jb 0x420e2d
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004283fc
add esp, 4
lea edx, [esp + 0x64]
push edx
mov ebx, 0x4498d8
lea esi, [esp + 0x4c]
call fcn.00412c00
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 2
call fcn.00405010
mov byte [esp + 0x90], 0
cmp dword [esp + 0x60], 8
jb 0x420e74
mov eax, dword [esp + 0x4c]
push eax
call fcn.004283fc
add esp, 4
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x420e87
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 0x420ec1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x84]
mov dword [esp + 0x10], eax
jl 0x420dd0
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 0x420f09
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 0x420f65
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004283fc
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.00428407
mov esp, ebp
pop ebp
ret 4