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

Disassembly:
push 0xffffffffffffffff
push 0x4f2315
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 0x4268e2
mov eax, 0x1f4
xor edx, edx
div dword [esi + 0xb4]
mov dword [esp + 0x20], eax
jmp 0x4268e6
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 0x426935
lea edi, [esp + 0x18]
mov eax, esi
call fcn.004266de
mov dword [esp + 0x10], eax
cmp dword [esi + 0x6c], ebp
je 0x4271ea
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 0x426c61
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jge 0x426c61
mov eax, dword [esi + 0x80]
test eax, eax
je 0x426bcb
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x426bcb
mov ecx, dword [esi + 0xa0]
cmp ecx, dword [esi + 0x9c]
jle 0x426bcb
mov eax, dword [esp + 0x10]
push edi
call fcn.004257d5
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 0x426a1c
mov eax, dword [esp + 0x50]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x426a27
cmp edx, 2
jne 0x426a27
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 0x426a78
push 0x80070057
call fcn.004010d2
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 [0x5228bc]
test ecx, ecx
je 0x426ae6
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426afc
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426afc
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426afc
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 0x426b2c
push 0x80070057
call fcn.004010d2
mov eax, dword [esi + 0xfc]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x5228bc]
add eax, edx
test ecx, ecx
mov eax, dword [eax]
je 0x426ba3
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426bb9
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426bb9
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 0x426c61
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 0x426c61
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 0x426bef
push 0x80070057
call fcn.004010d2
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x5228bc]
test ecx, ecx
mov eax, dword [eax]
je 0x426c4f
lea edx, [esp + 0x78]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426c61
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426c61
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426c61
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 0x426d6f
cmp ebx, dword [esp + 0x14]
jge 0x426d6f
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x426cbc
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x426cbc
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004256d1
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 0x426d6f
cmp ebx, dword [esi + 0x100]
jb 0x426cfd
push 0x80070057
call fcn.004010d2
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x5228bc]
test ecx, ecx
mov eax, dword [eax]
je 0x426d5d
lea edx, [esp + 0x78]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426d6f
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426d6f
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426d6f
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 0x426d91
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x78], ebx
jl 0x426e41
mov eax, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x30], eax
jmp 0x426db0
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 0x426e41
cmp ebx, dword [esi + 0x100]
jae 0x427e45
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + ebx*8]
mov ecx, dword [0x5228bc]
test ecx, ecx
mov eax, dword [eax]
je 0x426e6a
lea edx, [esp + 0x28]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426e32
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426e32
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 0x426db0
mov eax, dword [esi + 0x114]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x426ec7
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x44]
jl 0x426e7e
mov edx, dword [esi + 0x74]
mov eax, dword [esp + 0x1c]
shl edx, 1
neg eax
sub eax, edx
jmp 0x426e85
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 0x426e36
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 0x426ec7
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x426eb2
push 0x80070057
call fcn.004010d2
mov ecx, dword [esi + 0x110]
push 0
push ebp
push edi
lea eax, [esp + 0x44]
mov edx, esi
call fcn.00428888
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 0x426fdd
cmp ebx, dword [esp + 0x14]
jge 0x426fdd
mov ecx, dword [esi + 0x80]
test ecx, ecx
mov eax, dword [esi + 0x84]
jne 0x426f2c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x426f2c
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x426f2c
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004256d1
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 0x426fdd
cmp ebx, dword [esi + 0x100]
jb 0x426f6b
push 0x80070057
call fcn.004010d2
mov edx, dword [esi + 0xfc]
mov ecx, dword [0x5228bc]
test ecx, ecx
lea eax, [edx + ebx*8]
mov eax, dword [eax]
je 0x426fcb
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x426fdd
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426fdd
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426fdd
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 0x4270a7
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 0x4270a7
cmp ebx, dword [esi + 0x100]
jae 0x427e45
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x5228bc]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x4270d0
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x427092
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427092
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 0x427002
mov eax, dword [esp + 0x28]
mov ecx, 1
cmp eax, ecx
jle 0x427ef8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
test eax, eax
mov eax, dword [esi + 0x74]
jl 0x4270e4
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*2]
jmp 0x4270e6
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 0x427096
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 0x427ef8
cmp dword [esi + 0x114], ecx
ja 0x427117
push 0x80070057
call fcn.004010d2
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 [0x5228bc]
test eax, eax
je 0x4271b5
mov eax, dword [ebx]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add esi, 0xfffffff4
cmp esi, eax
je 0x4271c9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4271c9
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 0x4272b0
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x4272b0
cmp eax, ecx
jb 0x42720e
push 0x80070057
call fcn.004010d2
mov ecx, dword [esi + 0xfc]
mov edx, dword [0x5228bc]
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 0x427286
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x42729c
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42729c
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x42729c
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 0x4272b2
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 0x4272f2
mov dword [esp + 0x1c], 4
jmp 0x427302
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 0x4275ae
cmp eax, dword [esp + 0x14]
jge 0x4275ae
mov eax, dword [esi + 0x80]
test eax, eax
je 0x427517
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x427517
mov edx, dword [esi + 0xa0]
cmp edx, dword [esi + 0x9c]
jle 0x427517
mov eax, dword [esp + 0x10]
push ebp
call fcn.004257d5
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 0x4273d1
push 0x80070057
call fcn.004010d2
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xfc]
mov ebx, dword [esp + 0x1c]
shl ecx, 3
add eax, ecx
mov ecx, dword [0x5228bc]
mov eax, dword [eax]
or ebx, 0x820
test ecx, ecx
je 0x42743e
lea edx, [esp + 0x30]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x427450
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427450
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427450
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 0x427480
push 0x80070057
call fcn.004010d2
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 [0x5228bc]
test ecx, ecx
je 0x4274f7
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x427509
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427509
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push ebp
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x4275ae
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 0x4275ae
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 0x42753b
push 0x80070057
call fcn.004010d2
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x5228bc]
test ecx, ecx
mov eax, dword [eax]
je 0x42759c
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x4275ae
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4275ae
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4275ae
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 0x4276da
cmp ebx, dword [esp + 0x14]
jge 0x4276da
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esi + 0x84]
je 0x42760d
mov edx, dword [esp + 0x28]
cmp edx, ecx
jge 0x42760d
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004256d1
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.00425ef2
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 0x4276da
cmp ebx, dword [esi + 0x100]
jb 0x427662
push 0x80070057
call fcn.004010d2
mov eax, dword [esi + 0xfc]
lea ebx, [eax + ebx*8]
mov eax, dword [0x5228bc]
test eax, eax
je 0x4276c2
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x4276da
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4276da
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4276da
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 0x4276fa
mov eax, ecx
test eax, eax
mov dword [esp + 0x1c], eax
jl 0x42789b
jmp 0x427710
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 0x4277ee
mov ecx, dword [esi + 0x100]
cmp eax, ecx
jge 0x4277ee
cmp eax, ecx
jae 0x427e45
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xfc]
mov edx, dword [0x5228bc]
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 0x4277c4
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x4277da
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4277da
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4277da
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 0x4277f0
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 0x42789f
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x100]
jae 0x427e45
mov ecx, dword [esi + 0xfc]
lea eax, [ecx + eax*8]
mov ecx, dword [0x5228bc]
test ecx, ecx
mov eax, dword [eax]
je 0x42787b
lea edx, [esp + 0x30]
push 0
push edx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x427891
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427891
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427891
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 0x427710
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 0x114]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x28], edx
jle 0x4279b3
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 0x4278d9
push 0x80070057
call fcn.004010d2
cmp dword [0x5228bc], 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 0x42794a
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x427960
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427960
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427960
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 0x4279b1
mov eax, dword [esi + 0x114]
test eax, eax
ja 0x427998
push 0x80070057
call fcn.004010d2
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.00428888
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 0x427ba1
cmp ebx, dword [esp + 0x14]
jge 0x427ba1
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
xor edi, edi
cmp ecx, edi
jne 0x427a24
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x427a24
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x427a24
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004256d1
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 0x427b00
cmp ebx, eax
jb 0x427a60
push 0x80070057
call fcn.004010d2
mov eax, dword [esi + 0xfc]
cmp dword [0x5228bc], 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 0x427ad4
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x427aea
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427aea
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427aea
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 0x427ba1
cmp ebx, dword [esi + 0x100]
jb 0x427b2a
push 0x80070057
call fcn.004010d2
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x5228bc]
test ecx, ecx
lea eax, [eax + ebx*8]
mov eax, dword [eax]
je 0x427b8b
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x427ba1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427ba1
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427ba1
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 0x427d4d
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 0x427c98
mov eax, dword [esi + 0x100]
cmp ebp, eax
jge 0x427c98
cmp ebp, eax
jae 0x427e45
mov edx, dword [esi + 0xfc]
mov ebx, dword [esi + 0xdc]
xor ecx, ecx
lea eax, [edx + ebp*8]
cmp dword [0x5228bc], 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 0x427c6e
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x427c84
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427c84
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427c84
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 0x427c9a
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 0x427d4d
cmp ebp, dword [esi + 0x100]
jae 0x427e45
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x5228bc]
test ecx, ecx
lea eax, [eax + ebp*8]
mov eax, dword [eax]
je 0x427d23
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x427d40
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427d40
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427d40
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 0x427bc6
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, ebp
jle 0x427ef8
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 0x427d86
push 0x80070057
call fcn.004010d2
mov eax, dword [esi + 0x110]
mov edx, dword [0x5228bc]
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 0x427dfe
push ecx
lea ecx, [esp + 0x38]
push ecx
call fcn.0040160b
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 [0x51b43c]
add edi, 0xfffffff4
cmp edi, eax
je 0x427e14
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427e14
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427e14
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 0x427ef8
cmp dword [esi + 0x114], ebp
ja 0x427e4f
push 0x80070057
call fcn.004010d2
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 [0x5228bc]
test eax, eax
je 0x427ed8
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.0040160b
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 [0x51b43c]
add esi, 0xfffffff4
cmp esi, eax
je 0x427ef0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427ef0
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x427ef0
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