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

Disassembly:
push 0xffffffffffffffff
push 0x4c6345
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov esi, edx
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0xac]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x7c], ebp
mov dword [esp + 0x18], ecx
je 0x41fe42
mov eax, 0x1f4
xor edx, edx
div dword [esi + 0xb4]
mov dword [esp + 0x20], eax
jmp 0x41fe46
mov dword [esp + 0x20], ebp
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0x9c]
mov edi, dword [esi + 0xb4]
mov eax, ecx
sub eax, edx
xor edx, edx
div edi
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa0]
sub eax, ecx
div edi
cmp dword [esi + 0xc0], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x98]
mov dword [esp + 0x10], eax
je 0x41fe95
lea edi, [esp + 0x18]
mov eax, esi
call fcn.0041fc46
mov dword [esp + 0x10], eax
cmp dword [esi + 0x6c], ebp
je 0x42074a
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edi, dword [esi + 0x74]
mov ecx, dword [esi + 0x90]
mov ebp, dword [esi + 0x70]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub eax, edx
mov edx, dword [ebx]
add ecx, edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 8]
or ebp, 0x824
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], ebp
jl 0x4201c1
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jge 0x4201c1
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42012b
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x42012b
mov ecx, dword [esi + 0xa0]
cmp ecx, dword [esi + 0x9c]
jle 0x42012b
mov eax, dword [esp + 0x10]
push edi
call fcn.0041ecd0
mov edx, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa4]
mov ebx, eax
mov eax, dword [esi + 0x9c]
sub edx, eax
push edx
sub ecx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x70]
cmp edx, 1
mov ecx, dword [esp + 0x48]
mov ebp, eax
mov eax, ecx
jne 0x41ff7c
mov eax, dword [esp + 0x50]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x41ff87
cmp edx, 2
jne 0x41ff87
mov eax, dword [esp + 0x50]
sub eax, ebx
lea edx, [eax + ebx]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x88]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
push edx
add ebp, eax
push edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x100]
jb 0x41ffd8
push 0x80070057
call fcn.004010ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xfc]
shl ecx, 3
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4eb87c]
test ecx, ecx
je 0x420046
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401603
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx - 8]
add esp, 8
push 0x824
lea edx, [esp + 0x5c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x42005c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42005c
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42005c
mov edx, dword [eax - 8]
push 0x824
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x100]
jb 0x42008c
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x4eb87c]
add eax, edx
test ecx, ecx
mov eax, dword [eax]
je 0x420103
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401603
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx - 8]
add esp, 8
push 0x826
lea edx, [esp + 0x5c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420119
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420119
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ebp, dword [esp + 0x30]
jmp 0x4201c1
mov edx, dword [eax - 8]
push 0x826
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ebp, dword [esp + 0x30]
jmp 0x4201c1
mov eax, dword [esi + 0x88]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x100]
jb 0x42014f
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4eb87c]
test ecx, ecx
mov eax, dword [eax]
je 0x4201af
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00401603
mov ebx, dword [esp + 0x80]
mov ecx, dword [ebx - 8]
add esp, 8
push ebp
lea eax, [esp + 0x4c]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4201c1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4201c1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4201c1
mov ecx, dword [eax - 8]
push ebp
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
dec ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
js 0x4202cf
cmp ebx, dword [esp + 0x14]
jge 0x4202cf
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x42021c
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x42021c
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e99a
add esp, 8
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
neg eax
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x7c]
cmp ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
jle 0x4202cf
cmp ebx, dword [esi + 0x100]
jb 0x42025d
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x4eb87c]
test ecx, ecx
mov eax, dword [eax]
je 0x4202bd
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00401603
mov ebx, dword [esp + 0x80]
mov ecx, dword [ebx - 8]
add esp, 8
push ebp
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4202cf
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4202cf
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4202cf
mov ecx, dword [eax - 8]
push ebp
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esi + 0x84]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffe
dec ecx
cmp ecx, eax
mov ebx, ecx
jl 0x4202f1
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x78], ebx
jl 0x4203a1
mov eax, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x30], eax
jmp 0x420310
mov eax, dword [esp + 0x30]
add dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x7c]
cmp ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
jle 0x4203a1
cmp ebx, dword [esi + 0x100]
jae 0x4213a5
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x4eb87c]
test ecx, ecx
mov eax, dword [eax]
je 0x4203ca
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00401603
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx - 8]
add esp, 8
push ebp
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420392
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420392
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ebx, dword [esp + 0x78]
dec ebx
mov dword [esp + 0x78], ebx
jns 0x420310
mov eax, dword [esi + 0x114]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x420427
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x44]
jl 0x4203de
mov edx, dword [esi + 0x74]
mov eax, dword [esp + 0x1c]
shl edx, 1
neg eax
sub eax, edx
jmp 0x4203e5
mov ecx, dword [eax - 8]
push ebp
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x420396
mov eax, dword [esi + 0x74]
neg eax
shl eax, 1
mov edx, dword [esp + 0x3c]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], edx
cmp ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
jle 0x420427
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x420412
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0x110]
push 0
push ebp
push edi
lea eax, [esp + 0x44]
mov edx, esi
call fcn.00421de8
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
inc ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
js 0x42053d
cmp ebx, dword [esp + 0x14]
jge 0x42053d
mov ecx, dword [esi + 0x80]
test ecx, ecx
mov eax, dword [esi + 0x84]
jne 0x42048c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42048c
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x42048c
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e99a
add esp, 8
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], eax
jge 0x42053d
cmp ebx, dword [esi + 0x100]
jb 0x4204cb
push 0x80070057
call fcn.004010ca
mov edx, dword [esi + 0xfc]
mov ecx, dword [0x4eb87c]
test ecx, ecx
lea eax, [edx + ebx*8]
mov eax, dword [eax]
je 0x42052b
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401603
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx - 8]
add esp, 8
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x42053d
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42053d
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42053d
mov edx, dword [eax - 8]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x84]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebx, 2
cmp ebx, eax
mov dword [esp + 0x78], ebx
jge 0x420607
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
add edx, eax
add ecx, eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x7c]
cmp ecx, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
jge 0x420607
cmp ebx, dword [esi + 0x100]
jae 0x4213a5
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4eb87c]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x420630
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00401603
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx - 8]
add esp, 8
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4205f2
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4205f2
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
mov dword [esp + 0x78], ebx
jl 0x420562
mov eax, dword [esp + 0x28]
mov ecx, 1
cmp eax, ecx
jle 0x421458
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
test eax, eax
mov eax, dword [esi + 0x74]
jl 0x420644
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*2]
jmp 0x420646
mov edx, dword [eax - 8]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x4205f6
shl eax, 1
mov edx, dword [esp + 0x44]
add ebx, eax
add edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
mov edx, ebx
mov dword [esp + 0x3c], ebx
cmp edx, dword [eax + 0xc]
jge 0x421458
cmp dword [esi + 0x114], ecx
ja 0x420677
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0x120]
mov ebx, dword [esi + 0x110]
push eax
push edi
add ebx, 8
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x88]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x4eb87c]
test eax, eax
je 0x420715
mov eax, dword [ebx]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.00401603
mov esi, dword [esp + 0x84]
mov eax, dword [esi - 8]
add esp, 8
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add esi, 0xfffffff4
cmp esi, eax
je 0x420729
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420729
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov ebx, dword [ebx]
mov edx, dword [ebx - 8]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x78]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
cmp eax, ebp
jl 0x420810
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x420810
cmp eax, ecx
jb 0x42076e
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
mov edx, dword [0x4eb87c]
mov ebp, dword [esi + 0xdc]
lea eax, [ecx + eax*8]
mov eax, dword [eax]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x4207e6
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401603
mov edi, dword [esp + 0x38]
mov ecx, dword [edi - 8]
add esp, 8
push 0xc20
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x4207fc
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4207fc
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4207fc
mov ecx, dword [eax - 8]
push 0xc20
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x94]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, edx
add ecx, eax
jmp 0x420812
xor ecx, ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub eax, edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x48], eax
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x70]
cmp eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edx
jne 0x420852
mov dword [esp + 0x1c], 4
jmp 0x420862
xor ecx, ecx
cmp eax, 2
setne cl
dec ecx
and ecx, 8
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x78]
or edi, 0x821
test eax, eax
mov dword [esp + 0x18], edi
jl 0x420b0e
cmp eax, dword [esp + 0x14]
jge 0x420b0e
mov eax, dword [esi + 0x80]
test eax, eax
je 0x420a77
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x420a77
mov edx, dword [esi + 0xa0]
cmp edx, dword [esi + 0x9c]
jle 0x420a77
mov eax, dword [esp + 0x10]
push ebp
call fcn.0041ecd0
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [ebx + 8]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x24]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x54]
push eax
sar edi, 1
mov dword [esp + 0x64], ecx
push ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x100]
jb 0x420931
push 0x80070057
call fcn.004010ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xfc]
mov ebx, dword [esp + 0x1c]
shl ecx, 3
add eax, ecx
mov ecx, dword [0x4eb87c]
mov eax, dword [eax]
or ebx, 0x820
test ecx, ecx
je 0x42099e
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00401603
add esp, 8
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx - 8]
lea eax, [esp + 0x5c]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4209b0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4209b0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4209b0
mov ecx, dword [eax - 8]
push ebx
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x84]
mov edx, dword [esp + 0x34]
push eax
push ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x100]
jb 0x4209e0
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
shl ecx, 3
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
or ecx, 0x822
mov edi, ecx
mov ecx, dword [0x4eb87c]
test ecx, ecx
je 0x420a57
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401603
add esp, 8
push edi
mov edi, dword [esp + 0x38]
mov eax, dword [edi - 8]
lea edx, [esp + 0x5c]
push edx
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x420a69
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420a69
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push ebp
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x420b0e
mov edx, dword [eax - 8]
push edi
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push ebp
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x420b0e
mov eax, dword [esi + 0x88]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x100]
jb 0x420a9b
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4eb87c]
test ecx, ecx
mov eax, dword [eax]
je 0x420afc
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00401603
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov edx, dword [edi - 8]
add esp, 8
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
push edi
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x420b0e
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420b0e
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420b0e
mov edx, dword [eax - 8]
push edi
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
dec ebx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
js 0x420c3a
cmp ebx, dword [esp + 0x14]
jge 0x420c3a
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x420b6d
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x420b6d
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e99a
add esp, 8
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
neg eax
add ecx, eax
add edi, eax
mov eax, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
call fcn.0041f45f
mov edx, dword [esp + 0x7c]
mov edi, eax
mov eax, dword [esp + 0x40]
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x38], ecx
cmp eax, dword [edx]
jle 0x420c3a
cmp ebx, dword [esi + 0x100]
jb 0x420bc2
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
lea ebx, [eax + ebx*8]
mov eax, dword [0x4eb87c]
test eax, eax
je 0x420c22
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401603
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx - 8]
add esp, 8
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420c3a
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420c3a
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420c3a
mov edx, dword [esp + 0x18]
mov ebx, dword [ebx]
mov ecx, dword [ebx - 8]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esi + 0x84]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffe
dec ecx
cmp ecx, eax
jge 0x420c5a
mov eax, ecx
test eax, eax
mov dword [esp + 0x1c], eax
jl 0x420dfb
jmp 0x420c70
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
neg edi
add ebx, edi
add edx, edi
test eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edx
jl 0x420d4e
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x420d4e
cmp eax, ecx
jae 0x4213a5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xfc]
mov edx, dword [0x4eb87c]
mov ebx, dword [esi + 0xdc]
lea eax, [eax + ecx*8]
mov eax, dword [eax]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x420d24
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401603
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi - 8]
add esp, 8
push 0xc20
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x420d3a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420d3a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420d3a
mov ecx, dword [eax - 8]
push 0xc20
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esi + 0x94]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub edi, ecx
add edi, eax
jmp 0x420d50
xor edi, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx]
mov eax, ecx
sub eax, edi
cmp ecx, ebx
mov dword [esp + 0x38], eax
jle 0x420dff
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x100]
jae 0x4213a5
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4eb87c]
test ecx, ecx
mov eax, dword [eax]
je 0x420ddb
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00401603
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov edx, dword [ebx - 8]
add esp, 8
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420df1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420df1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420df1
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [eax - 8]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
dec dword [esp + 0x1c]
jns 0x420c70
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x114]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x28], edx
jle 0x420f13
mov edx, dword [esp + 0x40]
neg edi
add eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x114]
add edx, edi
cmp eax, ecx
mov dword [esp + 0x40], edx
ja 0x420e39
push 0x80070057
call fcn.004010ca
cmp dword [0x4eb87c], ecx
mov eax, dword [esi + 0x110]
mov ebx, dword [esi + 0xdc]
mov eax, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x420eaa
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401603
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi - 8]
add esp, 8
push 0xc20
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x420ec0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420ec0
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420ec0
mov ecx, dword [eax - 8]
push 0xc20
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x94]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x7c]
sub edx, eax
mov eax, dword [esp + 0x40]
sub edx, ebx
add edx, eax
mov dword [esp + 0x38], edx
cmp eax, dword [ecx]
jle 0x420f11
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x420ef8
push 0x80070057
call fcn.004010ca
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x110]
push 0
push edx
push ebp
lea eax, [esp + 0x44]
mov edx, esi
call fcn.00421de8
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
inc ebx
cmp ebx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], ebx
jl 0x421101
cmp ebx, dword [esp + 0x14]
jge 0x421101
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
xor edi, edi
cmp ecx, edi
jne 0x420f84
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x420f84
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x420f84
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e99a
add esp, 8
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add edx, eax
add ecx, eax
mov eax, dword [esi + 0x100]
cmp ebx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
jge 0x421060
cmp ebx, eax
jb 0x420fc0
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
cmp dword [0x4eb87c], edi
lea eax, [eax + ebx*8]
mov ebx, dword [esi + 0xdc]
mov eax, dword [eax]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
je 0x421034
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00401603
mov edi, dword [esp + 0x3c]
mov eax, dword [edi - 8]
add esp, 8
push 0xc20
lea edx, [esp + 0x5c]
push edx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x42104a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42104a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42104a
mov edx, dword [eax - 8]
push 0xc20
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esi + 0x94]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x1c]
sub edi, ecx
add edi, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + edi]
mov dword [esp + 0x40], ecx
cmp eax, dword [edx + 8]
jge 0x421101
cmp ebx, dword [esi + 0x100]
jb 0x42108a
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4eb87c]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x4210eb
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401603
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx - 8]
add esp, 8
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x421101
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421101
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x421101
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [eax - 8]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, 2
cmp ebp, eax
jge 0x4212ad
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add edx, edi
add ecx, edi
test ebp, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
jl 0x4211f8
mov eax, dword [esi + 0x100]
cmp ebp, eax
jge 0x4211f8
cmp ebp, eax
jae 0x4213a5
mov edx, dword [esi + 0xfc]
mov ebx, dword [esi + 0xdc]
xor ecx, ecx
lea eax, [edx + ebp*8]
cmp dword [0x4eb87c], ecx
mov eax, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x4211ce
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.00401603
mov edi, dword [esp + 0x3c]
mov eax, dword [edi - 8]
add esp, 8
push 0xc20
lea edx, [esp + 0x5c]
push edx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x4211e4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4211e4
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4211e4
mov edx, dword [eax - 8]
push 0xc20
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esi + 0x94]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub edi, ecx
add edi, eax
jmp 0x4211fa
xor edi, edi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + edi]
mov dword [esp + 0x40], ecx
cmp eax, dword [edx + 8]
jge 0x4212ad
cmp ebp, dword [esi + 0x100]
jae 0x4213a5
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4eb87c]
test ecx, ecx
lea eax, [eax + ebp*8]
mov eax, dword [eax]
je 0x421283
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00401603
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx - 8]
add esp, 8
push edx
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x3c]
push eax
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4212a0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4212a0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4212a0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [eax - 8]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x80]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x421126
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, ebp
jle 0x421458
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x114]
add edx, edi
add ecx, edi
cmp eax, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
ja 0x4212e6
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0x110]
mov edx, dword [0x4eb87c]
mov ebx, dword [esi + 0xdc]
xor ecx, ecx
add eax, 8
cmp edx, ecx
mov eax, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x42135e
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.00401603
mov edi, dword [esp + 0x3c]
mov eax, dword [edi - 8]
add esp, 8
push 0xc20
lea edx, [esp + 0x5c]
push edx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add edi, 0xfffffff4
cmp edi, eax
je 0x421374
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421374
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x421374
mov edx, dword [eax - 8]
push 0xc20
lea ecx, [esp + 0x5c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x94]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
sub ecx, ebx
add ecx, edi
add ecx, eax
mov dword [esp + 0x40], ecx
cmp eax, dword [edx + 8]
jge 0x421458
cmp dword [esi + 0x114], ebp
ja 0x4213af
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0x120]
mov edi, dword [esi + 0x110]
mov ebx, dword [esp + 0x78]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
add edi, 8
call ebp
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x88]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x4eb87c]
test eax, eax
je 0x421438
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.00401603
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x84]
mov ecx, dword [esi - 8]
add esp, 8
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x4e9154]
add esi, 0xfffffff4
cmp esi, eax
je 0x421450
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421450
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x421450
mov edx, dword [esp + 0x18]
mov edi, dword [edi]
mov ecx, dword [edi - 8]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x78]
push edx
push ebx
call ebp
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8