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

Disassembly:
push 0xffffffffffffffff
push 0x4cbd35
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 0x41fb42
mov eax, 0x1f4
xor edx, edx
div dword [esi + 0xb4]
mov dword [esp + 0x20], eax
jmp 0x41fb46
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 0x41fb95
lea edi, [esp + 0x18]
mov eax, esi
call fcn.0041f941
mov dword [esp + 0x10], eax
cmp dword [esi + 0x6c], ebp
je 0x42044a
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 0x41fec1
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jge 0x41fec1
mov eax, dword [esi + 0x80]
test eax, eax
je 0x41fe2b
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x41fe2b
mov ecx, dword [esi + 0xa0]
cmp ecx, dword [esi + 0x9c]
jle 0x41fe2b
mov eax, dword [esp + 0x10]
push edi
call fcn.0041e9bc
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 0x41fc7c
mov eax, dword [esp + 0x50]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x41fc87
cmp edx, 2
jne 0x41fc87
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 0x41fcd8
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 [0x4f311c]
test ecx, ecx
je 0x41fd46
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x41fd5c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41fd5c
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x41fd5c
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 0x41fd8c
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x4f311c]
add eax, edx
test ecx, ecx
mov eax, dword [eax]
je 0x41fe03
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x41fe19
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41fe19
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 0x41fec1
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 0x41fec1
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 0x41fe4f
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4f311c]
test ecx, ecx
mov eax, dword [eax]
je 0x41feaf
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x41fec1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41fec1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x41fec1
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 0x41ffcf
cmp ebx, dword [esp + 0x14]
jge 0x41ffcf
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x41ff1c
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x41ff1c
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e686
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 0x41ffcf
cmp ebx, dword [esi + 0x100]
jb 0x41ff5d
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x4f311c]
test ecx, ecx
mov eax, dword [eax]
je 0x41ffbd
lea edx, [esp + 0x78]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x41ffcf
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ffcf
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x41ffcf
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 0x41fff1
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x78], ebx
jl 0x4200a1
mov eax, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x30], eax
jmp 0x420010
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 0x4200a1
cmp ebx, dword [esi + 0x100]
jae 0x4210a5
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x4f311c]
test ecx, ecx
mov eax, dword [eax]
je 0x4200ca
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420092
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420092
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 0x420010
mov eax, dword [esi + 0x114]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x420127
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x44]
jl 0x4200de
mov edx, dword [esi + 0x74]
mov eax, dword [esp + 0x1c]
shl edx, 1
neg eax
sub eax, edx
jmp 0x4200e5
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 0x420096
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 0x420127
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x420112
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.00421ae8
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 0x42023d
cmp ebx, dword [esp + 0x14]
jge 0x42023d
mov ecx, dword [esi + 0x80]
test ecx, ecx
mov eax, dword [esi + 0x84]
jne 0x42018c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42018c
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x42018c
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e686
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 0x42023d
cmp ebx, dword [esi + 0x100]
jb 0x4201cb
push 0x80070057
call fcn.004010ca
mov edx, dword [esi + 0xfc]
mov ecx, dword [0x4f311c]
test ecx, ecx
lea eax, [edx + ebx*8]
mov eax, dword [eax]
je 0x42022b
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x42023d
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42023d
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42023d
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 0x420307
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 0x420307
cmp ebx, dword [esi + 0x100]
jae 0x4210a5
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4f311c]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x420330
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4202f2
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4202f2
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 0x420262
mov eax, dword [esp + 0x28]
mov ecx, 1
cmp eax, ecx
jle 0x421158
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
test eax, eax
mov eax, dword [esi + 0x74]
jl 0x420344
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*2]
jmp 0x420346
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 0x4202f6
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 0x421158
cmp dword [esi + 0x114], ecx
ja 0x420377
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 [0x4f311c]
test eax, eax
je 0x420415
mov eax, dword [ebx]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add esi, 0xfffffff4
cmp esi, eax
je 0x420429
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420429
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 0x420510
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x420510
cmp eax, ecx
jb 0x42046e
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
mov edx, dword [0x4f311c]
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 0x4204e6
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x4204fc
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4204fc
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4204fc
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 0x420512
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 0x420552
mov dword [esp + 0x1c], 4
jmp 0x420562
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 0x42080e
cmp eax, dword [esp + 0x14]
jge 0x42080e
mov eax, dword [esi + 0x80]
test eax, eax
je 0x420777
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x420777
mov edx, dword [esi + 0xa0]
cmp edx, dword [esi + 0x9c]
jle 0x420777
mov eax, dword [esp + 0x10]
push ebp
call fcn.0041e9bc
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 0x420631
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 [0x4f311c]
mov eax, dword [eax]
or ebx, 0x820
test ecx, ecx
je 0x42069e
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4206b0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4206b0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4206b0
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 0x4206e0
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 [0x4f311c]
test ecx, ecx
je 0x420757
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x420769
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420769
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push ebp
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x42080e
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 0x42080e
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 0x42079b
push 0x80070057
call fcn.004010ca
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4f311c]
test ecx, ecx
mov eax, dword [eax]
je 0x4207fc
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x42080e
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42080e
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42080e
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 0x42093a
cmp ebx, dword [esp + 0x14]
jge 0x42093a
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x42086d
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x42086d
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e686
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.0041f14b
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 0x42093a
cmp ebx, dword [esi + 0x100]
jb 0x4208c2
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
lea ebx, [eax + ebx*8]
mov eax, dword [0x4f311c]
test eax, eax
je 0x420922
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x42093a
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42093a
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42093a
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 0x42095a
mov eax, ecx
test eax, eax
mov dword [esp + 0x1c], eax
jl 0x420afb
jmp 0x420970
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 0x420a4e
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x420a4e
cmp eax, ecx
jae 0x4210a5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xfc]
mov edx, dword [0x4f311c]
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 0x420a24
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x420a3a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420a3a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420a3a
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 0x420a50
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 0x420aff
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x100]
jae 0x4210a5
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x4f311c]
test ecx, ecx
mov eax, dword [eax]
je 0x420adb
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420af1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420af1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420af1
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 0x420970
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x114]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x28], edx
jle 0x420c13
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 0x420b39
push 0x80070057
call fcn.004010ca
cmp dword [0x4f311c], 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 0x420baa
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x420bc0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420bc0
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420bc0
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 0x420c11
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x420bf8
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.00421ae8
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 0x420e01
cmp ebx, dword [esp + 0x14]
jge 0x420e01
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
xor edi, edi
cmp ecx, edi
jne 0x420c84
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x420c84
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x420c84
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.0041e686
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 0x420d60
cmp ebx, eax
jb 0x420cc0
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
cmp dword [0x4f311c], 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 0x420d34
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x420d4a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420d4a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420d4a
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 0x420e01
cmp ebx, dword [esi + 0x100]
jb 0x420d8a
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4f311c]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x420deb
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420e01
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420e01
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420e01
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 0x420fad
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 0x420ef8
mov eax, dword [esi + 0x100]
cmp ebp, eax
jge 0x420ef8
cmp ebp, eax
jae 0x4210a5
mov edx, dword [esi + 0xfc]
mov ebx, dword [esi + 0xdc]
xor ecx, ecx
lea eax, [edx + ebp*8]
cmp dword [0x4f311c], 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 0x420ece
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x420ee4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420ee4
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420ee4
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 0x420efa
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 0x420fad
cmp ebp, dword [esi + 0x100]
jae 0x4210a5
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x4f311c]
test ecx, ecx
lea eax, [eax + ebp*8]
mov eax, dword [eax]
je 0x420f83
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x420fa0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420fa0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x420fa0
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 0x420e26
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, ebp
jle 0x421158
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 0x420fe6
push 0x80070057
call fcn.004010ca
mov eax, dword [esi + 0x110]
mov edx, dword [0x4f311c]
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 0x42105e
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.00401754
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 [0x4f0984]
add edi, 0xfffffff4
cmp edi, eax
je 0x421074
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421074
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x421074
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 0x421158
cmp dword [esi + 0x114], ebp
ja 0x4210af
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 [0x4f311c]
test eax, eax
je 0x421138
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.00401754
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 [0x4f0984]
add esi, 0xfffffff4
cmp esi, eax
je 0x421150
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421150
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x421150
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