Function at 0x453450
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58d445
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x638], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x654]
mov dword fs:[0], eax
mov edx, dword [esp + 0x678]
mov eax, dword [esp + 0x670]
mov esi, dword [esp + 0x664]
mov ebp, dword [esp + 0x668]
mov ecx, dword [esp + 0x66c]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x67c]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x680]
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], edx
cmp eax, edi
je 0x455704
cmp ebp, edi
je 0x455704
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x455704
mov eax, dword [esp + 0x684]
shr eax, 0xa
not al
and al, 1
mov ebx, 0xa
push 0x28
mov byte [esp + 0x1d], al
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
call fcn.00528c05
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x65c], edi
push 0x28
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebx
call fcn.00528c05
add esp, 4
mov dword [esp + 0x80], eax
push 0x28
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
call fcn.00528c05
add esp, 4
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x65c], 2
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
lea eax, [esp + 0x154]
push eax
push esi
mov dword [esp + 0x15c], edi
call dword [sym.imp.GDI32.dll_GetClipBox]
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea ecx, [esp + 0x154]
push ecx
call ebx
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xec], eax
call ebx
cmp byte [esp + 0x19], 0
mov dword [esp + 0xf0], eax
je 0x4535d3
push 1
push eax
push esi
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov eax, ebp
call fcn.0044c390
add eax, 0x90
mov dword [esp + 0x2c], eax
mov eax, ebp
call fcn.0044c390
mov ecx, dword [eax]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x13c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [esp + 0x674]
mov edx, ebx
shr edx, 8
movzx eax, dl
movzx ecx, bl
shl ecx, 8
or eax, ecx
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
shl eax, 8
or eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, ebp
call fcn.0044c360
mov edx, eax
shr edx, 8
movzx ecx, dl
movzx edx, al
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x684]
mov eax, ecx
and eax, 1
mov dword [esp + 0xc0], eax
jne 0x453678
test cl, 0xe
je 0x4537aa
test ecx, 0x400
jne 0x4537aa
mov edx, dword [esp + 0x14]
or ecx, 0x400
push ecx
lea ecx, [esp + 0x74]
push ecx
push edi
push edi
push ebx
push edx
lea eax, [esp + 0xc8]
push eax
push ebp
push esi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0x270f
mov dword [esp + 0xe0], 0x64
mov dword [esp + 0x94], edi
call fcn.00453450
mov ebx, dword [esp + 0x58]
add esp, 0x24
test byte [esp + 0x684], 0x20
je 0x453740
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0xc0], edi
je 0x453728
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x70], eax
mov eax, esi
sub eax, dword [esp + 0xb0]
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
sub edx, eax
lea eax, [edx + ecx]
mov dword [ebx], eax
sub eax, dword [esp + 0xb0]
add eax, esi
mov dword [ebx + 8], eax
test byte [esp + 0x684], 2
je 0x453740
mov ecx, dword [ebx + 8]
sub ecx, esi
add ecx, dword [esp + 0xb0]
mov dword [ebx], ecx
test byte [esp + 0x684], 4
mov ecx, dword [esp + 0xbc]
je 0x45378f
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x70], eax
mov eax, ecx
sub eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x70]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
lea eax, [ecx + esi]
mov ecx, dword [esp + 0xbc]
mov dword [ebx + 4], eax
sub eax, dword [esp + 0xb4]
add eax, ecx
mov dword [ebx + 0xc], eax
test byte [esp + 0x684], 8
je 0x4537ae
mov edx, dword [ebx + 0xc]
sub edx, ecx
add edx, dword [esp + 0xb4]
mov dword [ebx + 4], edx
jmp 0x4537ae
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x4b8]
xor ecx, ecx
mov byte [esp + 0x42], 0
mov dword [esp + 0x4b4], eax
mov word [esp + 0x4b8], cx
mov edx, dword [ebp + 0x574]
mov eax, dword [ebp + 0x578]
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x60]
cmp eax, dword [edx]
jge 0x453853
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45383d
mov eax, dword [ebp]
push 0xffffffffffffffff
push eax
lea esi, [esp + 0x4bc]
call fcn.004671e0
mov byte [esp + 0x42], 1
inc dword [esp + 0x60]
add dword [esp + 0x38], 0x10
add ebp, 0x84
cmp byte [esp + 0x42], 0
je 0x4537fb
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx]
mov dword [esp + 0x48], edx
xor dl, dl
xor ebp, ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], dl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x23], dl
mov dword [esp + 0x60], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov byte [esp + 0x65c], 6
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov dword [esp + 0xe0], eax
mov byte [esp + 0x4f], dl
mov byte [esp + 0x4e], dl
mov byte [esp + 0x43], dl
mov dword [esp + 0x78], edi
mov byte [esp + 0x18], dl
cmp cx, di
je 0x4555f1
jmp 0x45391b
mov ebp, dword [esp + 0x7c]
mov dl, byte [esp + 0x1a]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov esi, dword [esi + 8]
cmp edi, esi
mov ebx, dword [esp + 0x48]
jge 0x4552be
cmp cx, 0xa
je 0x4552c4
test dl, dl
jne 0x4552be
cmp byte [esp + 0x1b], dl
jne 0x454fcd
cmp cx, 0x3c
je 0x45395e
cmp cx, 0x7b
jne 0x454aef
movzx edx, word [eax + 2]
lea esi, [eax + 2]
cmp dx, 0x61
jb 0x454aef
cmp dx, 0x7a
ja 0x454aef
movzx edx, word [eax + 4]
cmp dx, 0x20
je 0x453993
cmp dx, 0x3e
je 0x453993
cmp dx, 0x7d
jne 0x454aef
mov eax, esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
add ecx, 0xffffff9f
cmp ecx, 0x18
ja case.0x4539af.100
movzx ecx, byte [ecx + 0x455810]
jmp dword [ecx*4 + 0x4557dc]
add eax, 2
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x4539e5
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4539d0
cmp cx, 0x20
ja 0x4539e5
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x4539d0
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x453a5f
cmp byte [esp + 0x18], 0
jne 0x453a5f
mov esi, ebp
imul esi, esi, 0x84
add esi, dword [esp + 0x98]
mov edi, esi
call fcn.00467290
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
test ax, ax
je 0x453a5f
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
cmp ax, 0x3e
je 0x453a5f
cmp ax, 0x7d
je 0x453a5f
push ecx
call ebx
mov ecx, dword [esp + 0x14]
mov edi, eax
cmp ecx, edi
jae 0x453a57
lea esp, [esp]
movzx eax, word [ecx]
add ecx, 2
mov dword [esp + 0x14], ecx
call fcn.004672f0
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jb 0x453a40
movzx eax, word [ecx]
test ax, ax
jne 0x453a20
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.0044c300
cmp byte [esp + 0x42], 0
mov ebx, eax
je 0x453aa4
mov eax, dword [esp + 0x74]
cmp ebp, dword [eax]
jge 0x453aa4
mov ecx, dword [esp + 0x98]
imul ebp, ebp, 0x84
mov ecx, dword [ecx + ebp]
lea eax, [esp + 0x4b4]
call fcn.00467310
test al, al
je 0x453aa4
mov ecx, edi
call fcn.0044c330
mov ebx, eax
push ebx
lea esi, [esp + 0x84]
call fcn.00466e90
mov edx, ebx
shr edx, 8
movzx ecx, bl
movzx eax, dl
shl ecx, 8
or eax, ecx
shr ebx, 0x10
movzx edx, bl
shl eax, 8
or eax, edx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, edi
call fcn.0044c390
mov ecx, dword [esp + 0x68]
test ecx, ecx
jle 0x453afd
lea eax, [ecx - 1]
test eax, eax
jl 0x453afb
cmp eax, ecx
jge 0x453afb
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + eax*4]
jmp 0x453afd
xor eax, eax
cmp byte [eax + 0x8d], 0
jne 0x453bb9
movzx ebx, byte [eax + 0x8e]
movzx ecx, byte [eax + 0x8c]
mov esi, dword [eax + 0x88]
mov ebp, dword [eax + 4]
push ebx
push 1
push ecx
push esi
push ebp
push edi
mov byte [esp + 0x140], cl
call fcn.0044c980
test eax, eax
jne 0x453b4b
mov edx, dword [esp + 0x128]
push ebx
push 1
push edx
push esi
push ebp
push edi
call fcn.0044c560
push eax
mov eax, edi
call fcn.0044cbb0
mov edi, eax
push edi
lea esi, [esp + 0x68]
call fcn.00466e90
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
lea esi, [edi + 0x90]
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x54]
lea eax, [edi - 1]
test eax, eax
jl 0x453b8f
cmp eax, edi
jge 0x453b8f
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + eax*4]
jmp 0x453b91
xor ecx, ecx
mov edx, dword [esi + 0x10]
mov esi, dword [esi]
add edx, esi
add ecx, edx
cmp dword [esp + 0x24], ecx
jg 0x453bb9
test eax, eax
jl 0x453bb1
cmp eax, edi
jge 0x453bb1
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
jmp 0x453bb3
xor eax, eax
add edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov byte [esp + 0x2b], 1
jmp 0x4540f2
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
call fcn.0044c390
mov ecx, dword [esp + 0x68]
test ecx, ecx
jle 0x453c07
lea eax, [ecx - 1]
test eax, eax
jl 0x453c05
cmp eax, ecx
jge 0x453c05
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + eax*4]
jmp 0x453c07
xor eax, eax
cmp byte [eax + 0x8c], 0
jne 0x4540f2
movzx ebx, byte [eax + 0x8e]
movzx ecx, byte [eax + 0x8d]
mov esi, dword [eax + 0x88]
mov ebp, dword [eax + 4]
mov edi, dword [esp + 0x30]
push ebx
push ecx
push 1
push esi
push ebp
push edi
mov byte [esp + 0x130], cl
call fcn.0044c980
test eax, eax
jne 0x453c59
mov edx, dword [esp + 0x118]
push ebx
push edx
push 1
push esi
push ebp
push edi
call fcn.0044c560
push eax
mov eax, edi
call fcn.0044cbb0
mov edi, eax
push edi
lea esi, [esp + 0x68]
call fcn.00466e90
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
lea esi, [edi + 0x90]
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x54]
lea eax, [edi - 1]
test eax, eax
jl 0x453c9d
cmp eax, edi
jge 0x453c9d
mov edx, dword [esp + 0x50]
mov edx, dword [edx + eax*4]
jmp 0x453c9f
xor edx, edx
mov ecx, dword [esi + 0x10]
mov esi, dword [esi]
add ecx, esi
add edx, ecx
cmp dword [esp + 0x24], edx
jg 0x4540f2
test eax, eax
jl 0x453ccc
cmp eax, edi
jge 0x453ccc
mov edx, dword [esp + 0x50]
mov eax, dword [edx + eax*4]
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4540f2
xor eax, eax
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4540f2
add eax, 2
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x453d05
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x20
ja 0x453d05
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x453cf0
cmp word [eax], 0x23
jne 0x453d12
add eax, 2
mov dword [esp + 0x14], eax
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0052817e
add esp, 0xc
mov ebx, eax
push ebx
lea esi, [esp + 0x84]
call fcn.00466e90
mov edx, ebx
shr edx, 8
movzx ecx, bl
movzx eax, dl
shl ecx, 8
or eax, ecx
shr ebx, 0x10
movzx edx, bl
shl eax, 8
or eax, edx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4540f2
mov edi, dword [sym.imp.USER32.dll_CharNextW]
add eax, 2
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x453d87
cmp cx, 0x20
ja 0x453d87
push eax
call edi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x453d72
push 0xa
lea ecx, [esp + 0x18]
push ecx
push eax
mov esi, eax
call fcn.0052817e
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
je 0x453dd4
mov esi, dword [esp + 0x30]
call fcn.0044cb40
mov ebp, eax
push ebp
lea esi, [esp + 0x68]
call fcn.00466e90
mov edx, dword [ebp]
mov eax, dword [esp + 0x1c]
push edx
lea esi, [ebp + 0x90]
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4540ae
lea edx, [esp + 0x540]
xor eax, eax
mov dword [esp + 0x53c], edx
mov word [esp + 0x540], ax
lea edx, [esp + 0x188]
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x184], edx
mov word [esp + 0x188], ax
mov byte [esp + 0x65c], 8
mov byte [esp + 0xdc], al
mov byte [esp + 0xe4], al
mov byte [esp + 0xcc], al
movzx eax, word [ecx]
test ax, ax
je 0x453e91
nop
cmp ax, 0x3e
je 0x453e91
cmp ax, 0x7d
je 0x453e91
cmp ax, 0x20
je 0x453e91
push ecx
call edi
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp ecx, ebp
jae 0x453e89
nop
movzx eax, word [ecx]
add ecx, 2
lea edx, [esp + 0xc8]
mov word [esp + 0xc8], ax
mov dword [esp + 0x14], ecx
push edx
lea eax, [esp + 0x540]
xor ecx, ecx
push eax
mov word [esp + 0xd2], cx
call fcn.004670a0
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jb 0x453e50
movzx eax, word [ecx]
test ax, ax
jne 0x453e30
movzx eax, word [ecx]
test ax, ax
jbe 0x453eb7
lea esp, [esp]
cmp ax, 0x20
ja 0x453eb7
push ecx
call edi
mov ecx, eax
mov dword [esp + 0x14], ecx
movzx eax, word [ecx]
test ax, ax
ja 0x453ea0
movzx ecx, word [ecx]
push ecx
call fcn.00529104
add esp, 4
test eax, eax
je 0x453edf
mov eax, dword [esp + 0x14]
push 0xa
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0052817e
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
test cx, cx
jbe 0x453f05
jmp 0x453ef0
cmp cx, 0x20
ja 0x453f05
push eax
call edi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x453ef0
movzx ecx, word [eax]
test cx, cx
je 0x453f71
lea ecx, [ecx]
cmp cx, 0x3e
je 0x453f71
cmp cx, 0x7d
je 0x453f71
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x453f69
lea esp, [esp]
movzx ecx, word [eax]
add eax, 2
lea edx, [esp + 0xd4]
mov dword [esp + 0x14], eax
mov word [esp + 0xd4], cx
push edx
lea eax, [esp + 0x188]
xor ecx, ecx
push eax
mov word [esp + 0xde], cx
call fcn.004670a0
mov eax, dword [esp + 0x14]
cmp eax, ebp
jb 0x453f30
movzx ecx, word [eax]
test cx, cx
jne 0x453f10
mov ecx, dword [esp + 0x184]
push ecx
call fcn.00529fdf
mov edx, dword [esp + 0x188]
add esp, 4
push str.bold
push edx
call fcn.00527ed8
mov ecx, dword [esp + 0x18c]
add esp, 8
test eax, eax
je 0x453faf
sub eax, ecx
sar eax, 1
js 0x453faf
mov byte [esp + 0xdc], 1
push str.underline
push ecx
call fcn.00527ed8
mov ecx, dword [esp + 0x18c]
add esp, 8
test eax, eax
je 0x453fd6
sub eax, ecx
sar eax, 1
js 0x453fd6
mov byte [esp + 0xe4], 1
push str.italic
push ecx
call fcn.00527ed8
add esp, 8
test eax, eax
je 0x453ffb
sub eax, dword [esp + 0x184]
sar eax, 1
js 0x453ffb
mov byte [esp + 0xcc], 1
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xe4]
mov ebp, dword [esp + 0xdc]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x53c]
mov ecx, dword [esp + 0x30]
push esi
push edi
push ebp
push eax
push ebx
push ecx
call fcn.0044c980
test eax, eax
jne 0x454041
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push esi
push edi
push ebp
push edx
push ebx
push eax
call fcn.0044c560
push eax
mov eax, dword [esp + 0x34]
call fcn.0044cbb0
mov ebp, eax
push ebp
lea esi, [esp + 0x68]
call fcn.00466e90
mov ecx, dword [ebp]
mov edx, dword [esp + 0x1c]
push ecx
lea esi, [ebp + 0x90]
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x184]
lea ecx, [esp + 0x188]
cmp eax, ecx
je 0x45408b
push eax
call fcn.005282dc
add esp, 4
mov byte [esp + 0x65c], 6
mov eax, dword [esp + 0x53c]
lea edx, [esp + 0x540]
cmp eax, edx
je 0x4540ae
push eax
call fcn.005282dc
add esp, 4
mov ecx, dword [esp + 0x54]
lea eax, [ecx - 1]
test eax, eax
jl 0x4540c6
cmp eax, ecx
jge 0x4540c6
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax*4]
jmp 0x4540c8
xor edx, edx
mov ecx, dword [esi + 0x10]
mov esi, dword [esi]
add ecx, esi
add edx, ecx
cmp dword [esp + 0x24], edx
jg 0x4540f2
test eax, eax
jl 0x4540ea
cmp eax, dword [esp + 0x54]
jge 0x4540ea
mov edx, dword [esp + 0x50]
mov eax, dword [edx + eax*4]
jmp 0x4540ec
xor eax, eax
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
test cx, cx
je 0x45411f
cmp cx, 0x3e
je 0x45411f
cmp cx, 0x7d
je 0x45411f
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jne 0x454104
push eax
call esi
mov dword [esp + 0x14], eax
jmp 0x455457
lea ecx, [eax - 2]
add eax, 2
mov dword [esp + 0x14], eax
push eax
or edx, 0xffffffff
lea eax, [esp + 0x5c8]
mov dword [esp + 0x3c], ecx
call fcn.00467060
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
xor edi, edi
cmp cx, di
jbe 0x454175
lea ecx, [ecx]
cmp cx, 0x20
ja 0x454175
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
cmp cx, di
ja 0x454160
lea edx, [esp + 0x298]
xor ecx, ecx
mov dword [esp + 0x294], edx
mov word [esp + 0x298], cx
mov byte [esp + 0x65c], 0xa
movzx ecx, word [eax]
cmp cx, di
je 0x454211
lea ecx, [ecx]
cmp cx, 0x3e
je 0x454201
cmp cx, 0x7d
je 0x454201
cmp cx, 0x20
je 0x454201
push eax
call esi
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x4541f9
nop
movzx ecx, word [eax]
add eax, 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0xec]
mov word [esp + 0xec], cx
push eax
lea ecx, [esp + 0x298]
xor edx, edx
push ecx
mov word [esp + 0xf6], dx
call fcn.004670a0
mov eax, dword [esp + 0x14]
cmp eax, ebp
jb 0x4541c0
movzx ecx, word [eax]
cmp cx, di
jne 0x4541a0
mov edx, dword [esp + 0x294]
cmp word [edx], di
jne 0x45430e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], edi
call fcn.0044c390
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jle 0x45423c
lea eax, [ecx - 1]
cmp eax, edi
jl 0x45423a
cmp eax, ecx
jge 0x45423a
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + eax*4]
jmp 0x45423c
xor eax, eax
cmp byte [eax + 0x8e], 0
jne 0x454848
movzx ebx, byte [eax + 0x8d]
movzx ecx, byte [eax + 0x8c]
mov ebp, dword [eax + 0x88]
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x30]
push 1
push ebx
push ecx
push ebp
push esi
push edi
mov byte [esp + 0x134], cl
call fcn.0044c980
test eax, eax
jne 0x45428e
mov edx, dword [esp + 0x11c]
push 1
push ebx
push edx
push ebp
push esi
push edi
call fcn.0044c560
push eax
mov eax, edi
call fcn.0044cbb0
mov edi, eax
push edi
lea esi, [esp + 0x68]
call fcn.00466e90
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
lea esi, [edi + 0x90]
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x54]
lea eax, [edi - 1]
test eax, eax
jl 0x4542d2
cmp eax, edi
jge 0x4542d2
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + eax*4]
jmp 0x4542d4
xor ecx, ecx
mov edx, dword [esi + 0x10]
mov esi, dword [esi]
add edx, esi
add ecx, edx
cmp dword [esp + 0x24], ecx
jg 0x454848
test eax, eax
jl 0x454301
cmp eax, edi
jge 0x454301
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [esp + 0x24], eax
jmp 0x454848
xor eax, eax
mov eax, edx
mov dword [esp + 0x24], eax
jmp 0x454848
movzx ecx, word [eax]
cmp cx, di
jbe 0x45432b
cmp cx, 0x20
ja 0x45432b
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
cmp cx, di
ja 0x454316
push 0xa
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0052817e
mov ebx, eax
add esp, 0xc
cmp ebx, edi
mov dword [esp + 0x5c], eax
jg 0x45434e
mov ebx, 1
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
cmp cx, di
jbe 0x454375
lea ebx, [ebx]
cmp cx, 0x20
ja 0x454375
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
cmp cx, di
ja 0x454360
push 0xa
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0052817e
add esp, 0xc
cmp eax, edi
mov dword [esp + 0xc4], eax
jl 0x454394
cmp eax, ebx
jl 0x45439b
mov dword [esp + 0xc4], edi
mov edx, dword [esp + 0x5c4]
push 0x5a86ac
push edx
call fcn.00527ed8
add esp, 8
test eax, eax
jne 0x4543eb
mov eax, dword [esp + 0x5c4]
push str.res
push eax
call fcn.00527ed8
add esp, 8
test eax, eax
jne 0x4543eb
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x294]
push eax
push eax
push ecx
call fcn.0044cc40
mov esi, eax
mov dword [esp + 0x5c], esi
jmp 0x4546d6
lea edx, [esp + 0x430]
xor eax, eax
mov dword [esp + 0x42c], edx
mov word [esp + 0x430], ax
lea ecx, [esp + 0x3a8]
xor edx, edx
mov dword [esp + 0x3a4], ecx
mov word [esp + 0x3a8], dx
mov ebp, dword [esp + 0x5c4]
lea eax, [esp + 0x210]
xor ecx, ecx
mov dword [esp + 0x20c], eax
mov word [esp + 0x210], cx
lea edx, [esp + 0x320]
xor eax, eax
mov dword [esp + 0x31c], edx
mov word [esp + 0x320], ax
mov byte [esp + 0x65c], 0xe
cmp word [ebp], ax
je 0x454641
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea ebx, [ebx]
lea edi, [esp + 0x20c]
call fcn.00467290
lea edi, [esp + 0x31c]
call fcn.00467290
movzx eax, word [ebp]
test ax, ax
jbe 0x4544a5
cmp ax, 0x20
ja 0x4544a5
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x454491
movzx eax, word [ebp]
test ax, ax
je 0x4544fe
cmp ax, 0x3d
je 0x4544fe
cmp ax, 0x20
jbe 0x4544fe
push ebp
call ebx
mov esi, eax
cmp ebp, esi
jae 0x4544f5
mov cx, word [ebp]
lea eax, [esp + 0xd0]
mov word [esp + 0xd0], cx
push eax
lea ecx, [esp + 0x210]
xor edx, edx
push ecx
mov word [esp + 0xda], dx
call fcn.004670a0
add ebp, 2
cmp ebp, esi
jb 0x4544c3
movzx eax, word [ebp]
test ax, ax
jne 0x4544ae
movzx eax, word [ebp]
test ax, ax
jbe 0x45451b
cmp ax, 0x20
ja 0x45451b
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x454507
mov dx, word [ebp]
add ebp, 2
cmp dx, 0x3d
jne 0x45463d
movzx eax, word [ebp]
test ax, ax
jbe 0x454549
cmp ax, 0x20
ja 0x454549
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x454535
mov ax, word [ebp]
add ebp, 2
cmp ax, 0x27
jne 0x45463d
movzx eax, word [ebp]
test ax, ax
je 0x4545ad
cmp ax, 0x27
je 0x4545ad
push ebp
call ebx
mov esi, eax
cmp ebp, esi
jae 0x4545a4
mov cx, word [ebp]
lea eax, [esp + 0xd8]
mov word [esp + 0xd8], cx
push eax
lea ecx, [esp + 0x320]
xor edx, edx
push ecx
mov word [esp + 0xe2], dx
call fcn.004670a0
add ebp, 2
cmp ebp, esi
jb 0x454572
movzx eax, word [ebp]
test ax, ax
jne 0x454563
mov dx, word [ebp]
add ebp, 2
cmp dx, 0x27
jne 0x45463d
mov esi, dword [esp + 0x31c]
cmp word [esi], 0
je 0x454625
mov ecx, 0x5a8628
lea eax, [esp + 0x20c]
call fcn.00467310
test al, al
jne 0x454616
mov ecx, 0x5a8634
lea eax, [esp + 0x20c]
call fcn.00467310
test al, al
jne 0x454616
mov ecx, str.restype
lea eax, [esp + 0x20c]
call fcn.00467310
test al, al
je 0x454625
push 0xffffffffffffffff
push esi
lea esi, [esp + 0x434]
jmp 0x454620
push 0xffffffffffffffff
push esi
lea esi, [esp + 0x3ac]
call fcn.004671e0
mov ax, word [ebp]
add ebp, 2
cmp ax, 0x20
jne 0x45463d
cmp word [ebp], 0
jne 0x454470
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x42c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x3a4]
push 0
push ecx
push edx
call fcn.0044cc40
mov esi, eax
mov eax, dword [esp + 0x31c]
lea ecx, [esp + 0x320]
mov dword [esp + 0x5c], esi
cmp eax, ecx
je 0x45467d
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x20c]
lea edx, [esp + 0x210]
cmp eax, edx
je 0x454698
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x3a4]
lea ecx, [esp + 0x3a8]
cmp eax, ecx
je 0x4546b3
push eax
call fcn.005282dc
add esp, 4
mov byte [esp + 0x65c], 0xa
mov eax, dword [esp + 0x42c]
lea edx, [esp + 0x430]
cmp eax, edx
je 0x4546d6
push eax
call fcn.005282dc
add esp, 4
xor edi, edi
cmp esi, edi
je 0x454844
cmp ebx, 1
mov ebp, dword [esi + 4]
mov esi, dword [esi + 8]
jle 0x4546f2
mov eax, ebp
cdq
idiv ebx
mov ebp, eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
lea ecx, [eax + ebp]
cmp ecx, dword [edx + 8]
mov dword [esp + 0x8c], ecx
jle 0x454721
cmp eax, dword [edx]
jle 0x454721
test byte [esp + 0x684], 0x20
jne 0x454721
mov byte [esp + 0x1a], 1
jmp 0x454848
cmp byte [esp + 0x19], 0
mov dword [esp + 0x38], edi
je 0x454819
cmp byte [esp + 0x18], 0
je 0x454819
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x144], eax
mov eax, ecx
sub eax, esi
cmp esi, ecx
lea edx, [eax + ebx]
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0x8c]
lea edi, [ecx + ebx]
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], edi
jge 0x45478d
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov dword [esp + 0x150], edi
sub edi, esi
mov dword [esp + 0x148], edi
mov ecx, dword [esp + 0xc4]
fld dword [0x5d97fc]
xor eax, eax
mov edx, ecx
push eax
imul edx, ebp
inc ecx
imul ecx, ebp
push eax
push eax
push ecx
mov dword [esp + 0x178], eax
mov dword [esp + 0x184], eax
fstp dword [esp]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
push 0xff
mov dword [esp + 0x180], ecx
lea eax, [esp + 0x188]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x15c]
push ecx
mov dword [esp + 0x180], edx
mov edx, ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x18c]
mov dword [esp + 0x198], esi
call fcn.00450530
add esp, 0x28
jmp 0x45481d
mov ebx, dword [esp + 0x48]
cmp esi, dword [esp + 0x24]
jle 0x454827
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x8c]
add esi, ebx
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], esi
jg 0x454848
mov dword [esp + 0x3c], eax
jmp 0x454848
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x298]
cmp eax, ecx
je 0x454863
push eax
call fcn.005282dc
add esp, 4
mov byte [esp + 0x65c], 6
mov eax, dword [esp + 0x5c4]
lea edx, [esp + 0x5c8]
cmp eax, edx
je 0x454886
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4540f2
mov dword [esp + 0x14], eax
jmp 0x455457
add eax, 2
test byte [esp + 0x684], 0x20
mov dword [esp + 0x14], eax
jne case.0x4539af.100
mov byte [esp + 0x1a], 1
jmp case.0x4539af.100
mov ecx, dword [esp + 0x34]
add eax, 2
cmp edi, dword [ecx]
mov dword [esp + 0x14], eax
jle 0x4548ce
mov byte [esp + 0x1a], 1
movzx ecx, word [eax]
test cx, cx
jbe 0x4548f5
mov esi, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
cmp cx, 0x20
ja 0x4548f5
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x4548e0
push 0xa
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0052817e
add esp, 0xc
mov edi, eax
push edi
lea esi, [esp + 0x54]
call fcn.00466e90
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax]
lea eax, [ecx + edi]
cmp dword [esp + 0x24], eax
jg 0x4540f2
jmp 0x4540ee
add eax, 2
mov dword [esp + 0x14], eax
mov byte [esp + 0x1b], 1
jmp case.0x4539af.100
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x14], eax
sete cl
cmp byte [esp + 0x19], 0
mov byte [esp + 0x23], cl
je case.0x4539af.100
cmp byte [esp + 0x18], 0
je case.0x4539af.100
test cl, cl
je 0x45497c
mov edx, dword [esp + 0x1c]
push 2
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x4540f2
mov eax, dword [esp + 0x1c]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x4540f2
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
call fcn.0044c390
mov ecx, dword [esp + 0x68]
test ecx, ecx
jle 0x4549bc
lea eax, [ecx - 1]
test eax, eax
jl 0x4549ba
cmp eax, ecx
jge 0x4549ba
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + eax*4]
jmp 0x4549bc
xor eax, eax
cmp byte [eax + 0x8d], 0
jne 0x4540f2
movzx ebx, byte [eax + 0x8e]
movzx ecx, byte [eax + 0x8c]
mov ebp, dword [eax + 0x88]
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x30]
push ebx
push 1
push ecx
push ebp
push esi
push edi
mov byte [esp + 0x150], cl
call fcn.0044c980
test eax, eax
jne 0x454a0e
mov edx, dword [esp + 0x138]
push ebx
push 1
push edx
push ebp
push esi
push edi
call fcn.0044c560
push eax
mov eax, edi
call fcn.0044cbb0
mov edi, eax
push edi
lea esi, [esp + 0x68]
call fcn.00466e90
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
lea esi, [edi + 0x90]
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x54]
lea eax, [edi - 1]
test eax, eax
jl 0x453c9d
cmp eax, edi
jge 0x453c9d
mov edx, dword [esp + 0x50]
mov edx, dword [edx + eax*4]
jmp 0x453c9f
add eax, 2
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x454a89
lea esp, [esp]
cmp cx, 0x20
ja 0x454a89
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x454a70
push 0xa
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0052817e
add edi, eax
add esp, 0xc
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
jg 0x4540f2
mov dword [esp + 0x3c], edi
jmp 0x4540f2
add eax, 2
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x454ada
cmp cx, 0x20
ja 0x454ada
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x454ac1
push 0xa
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0052817e
add esp, 0xc
jmp 0x4540ee
cmp cx, 0x3c
je 0x454aff
cmp cx, 0x7b
jne 0x454e1a
cmp word [eax + 2], 0x2f
jne 0x454e1a
add eax, 4
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
add ecx, 0xffffff9f
cmp ecx, 0x14
ja case.0x454b27.100
movzx ecx, byte [ecx + 0x455844]
jmp dword [ecx*4 + 0x45582c]
mov ecx, dword [esp + 0x84]
add eax, 2
dec ecx
lea edx, [esp + 0x80]
mov dword [esp + 0x14], eax
call fcn.00466f90
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x674]
test ecx, ecx
jle 0x454b74
lea eax, [ecx - 1]
test eax, eax
jl 0x454b72
cmp eax, ecx
jge 0x454b72
mov edx, dword [esp + 0x80]
mov eax, dword [edx + eax*4]
jmp 0x454b74
xor eax, eax
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 0x1c]
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x454de1
mov edx, dword [esp + 0x34]
add eax, 2
cmp edi, dword [edx]
mov dword [esp + 0x14], eax
jle 0x454bb4
mov byte [esp + 0x1a], 1
mov ecx, dword [esp + 0x54]
dec ecx
lea edx, [esp + 0x50]
call fcn.00466f90
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
lea eax, [esi - 1]
test eax, eax
jl 0x454bda
cmp eax, esi
jge 0x454bda
mov ecx, dword [edi + eax*4]
jmp 0x454bdc
xor ecx, ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
add edx, ebx
add ecx, edx
cmp dword [esp + 0x24], ecx
jg 0x454de1
test eax, eax
jl 0x454dd9
cmp eax, esi
jge 0x454dd9
mov eax, dword [edi + eax*4]
jmp 0x454ddb
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x14], eax
sete cl
cmp byte [esp + 0x19], 0
mov byte [esp + 0x23], cl
je case.0x454b27.100
cmp byte [esp + 0x18], 0
je case.0x454b27.100
test cl, cl
je 0x454c4a
mov edx, dword [esp + 0x1c]
push 2
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x454de1
mov eax, dword [esp + 0x1c]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x454de1
mov ecx, dword [esp + 0x74]
cmp ebp, dword [ecx]
jge 0x454ca0
cmp byte [esp + 0x18], 0
jne 0x454c9b
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x10]
add edx, dword [eax]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
add edx, ebx
push edx
push edi
mov edx, ebp
push eax
shl edx, 4
add edx, dword [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
inc ebp
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x84]
dec ecx
lea edx, [esp + 0x80]
call fcn.00466f90
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x674]
test ecx, ecx
jle 0x454cdf
lea eax, [ecx - 1]
test eax, eax
jl 0x454cdd
cmp eax, ecx
jge 0x454cdd
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + eax*4]
jmp 0x454cdf
xor eax, eax
mov edx, eax
shr edx, 8
movzx ecx, dl
movzx edx, al
shl edx, 8
or ecx, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2b], 0
mov ecx, dword [esp + 0x68]
add eax, 2
dec ecx
lea edx, [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.00466f90
mov ecx, dword [esp + 0x68]
lea eax, [ecx - 1]
test eax, eax
jl 0x454d3e
cmp eax, ecx
jge 0x454d3e
mov edx, dword [esp + 0x64]
mov esi, dword [edx + eax*4]
test esi, esi
jne 0x454d49
mov eax, dword [esp + 0x30]
call fcn.0044c390
mov esi, eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x34], 0
je 0x454d85
cmp byte [esi + 0x8e], 0
jne 0x454d85
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb0]
push ecx
push 0x20
push 0x20
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov eax, dword [esp + 0xb8]
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [esp + 0x44], edi
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
lea edi, [esi + 0x90]
push ecx
mov dword [esp + 0x34], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x54]
lea eax, [ecx - 1]
test eax, eax
jl 0x454db5
cmp eax, ecx
jge 0x454db5
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + eax*4]
jmp 0x454db7
xor ecx, ecx
mov edx, dword [edi + 0x10]
mov esi, dword [edi]
add edx, esi
add ecx, edx
cmp dword [esp + 0x24], ecx
jg 0x454de1
test eax, eax
jl 0x454dd9
cmp eax, dword [esp + 0x54]
jge 0x454dd9
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
jmp 0x454ddb
xor eax, eax
add edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
test cx, cx
je 0x454e0e
cmp cx, 0x3e
je 0x454e0e
cmp cx, 0x7d
je 0x454e0e
push eax
call esi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jne 0x454df3
push eax
call esi
mov dword [esp + 0x14], eax
jmp 0x455457
cmp cx, 0x3c
jne 0x454ea0
cmp word [eax + 4], 0x3e
jne 0x454ea0
movzx ebp, word [eax + 2]
lea esi, [eax + 2]
cmp bp, 0x7b
je 0x454e3e
cmp bp, 0x7d
jne 0x454ea0
lea edx, [esp + 0x13c]
push edx
push 1
push esi
mov esi, dword [esp + 0x28]
xor eax, eax
push esi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x454e94
cmp byte [esp + 0x18], 0
je 0x454e94
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
push 1
add eax, 2
push eax
mov eax, dword [esp + 0x34]
sub ecx, dword [eax + 0x10]
sub ecx, dword [eax]
add ecx, ebx
push ecx
push edi
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
add edi, dword [esp + 0x13c]
jmp 0x454f29
cmp cx, 0x7b
jne 0x454f47
cmp word [eax + 4], 0x7d
jne 0x454f47
movzx ebp, word [eax + 2]
lea esi, [eax + 2]
cmp bp, 0x3c
je 0x454ecc
cmp bp, 0x3e
jne 0x454f47
lea edx, [esp + 0x120]
push edx
push 1
push esi
mov esi, dword [esp + 0x28]
xor eax, eax
push esi
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x454f22
cmp byte [esp + 0x18], 0
je 0x454f22
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
push 1
add eax, 2
push eax
mov eax, dword [esp + 0x34]
sub ecx, dword [eax + 0x10]
sub ecx, dword [eax]
add ecx, ebx
push ecx
push edi
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
add edi, dword [esp + 0x120]
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
jg 0x454f37
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x14]
add eax, 6
mov dword [esp + 0x14], eax
jmp 0x455457
cmp cx, 0x20
jne 0x454fcd
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x12c]
push edx
push 1
xor eax, eax
push 0x5a86c8
push esi
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x454fa8
cmp byte [esp + 0x18], 0
je 0x454fa8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
sub ecx, dword [eax + 0x10]
push 1
sub ecx, dword [eax]
push 0x5a86c8
add ecx, ebx
push ecx
push edi
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
add edi, dword [esp + 0x12c]
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
jg 0x454fbd
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x455457
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
xor edi, edi
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], edi
mov esi, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
cmp byte [esp + 0x1b], bl
jne 0x455005
cmp word [eax], 0x3c
je 0x45500b
cmp word [eax], 0x7b
jne 0x455015
mov ebp, 1
lea esi, [eax + 2]
mov ebx, ebp
movzx ecx, word [esi]
cmp cx, di
je 0x4551a8
cmp cx, 0xa
je 0x4551a8
cmp byte [esp + 0x1b], 0
je 0x455066
cmp cx, 0x3c
je 0x45503e
cmp cx, 0x7b
jne 0x45507a
cmp word [esi + 2], 0x2f
jne 0x45507a
cmp word [esi + 4], 0x72
jne 0x45507a
movzx ecx, word [esi + 6]
cmp cx, 0x3e
je 0x45505c
cmp cx, 0x7d
jne 0x45507a
mov byte [esp + 0x1b], 0
jmp 0x4551a8
cmp cx, 0x3c
je 0x4551a8
cmp cx, 0x7b
je 0x4551a8
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
inc ebp
imul eax, ebp
mov edx, edi
sub edx, esi
sar edx, 1
add ebx, edx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x34]
cmp edx, dword [ecx + 8]
mov dword [esp + 0x90], eax
jl 0x4550cd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x90]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
add edx, eax
cmp edx, dword [ecx + 8]
jg 0x45512b
movzx eax, word [esi]
cmp ax, 0x61
jb 0x4550eb
cmp ax, 0x7a
jbe 0x4550ff
cmp ax, 0x41
jb 0x4550f7
cmp ax, 0x5a
jbe 0x4550ff
mov dword [esp + 0x38], ebp
mov dword [esp + 0x5c], ebx
cmp ax, 0x20
jne 0x45510d
mov dword [esp + 0x38], ebp
mov dword [esp + 0x5c], ebx
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx ecx, word [esi]
mov eax, dword [esp + 0x14]
test cx, cx
jne 0x455021
jmp 0x4551a8
mov edx, dword [esp + 0x44]
add eax, edx
cmp eax, dword [ecx + 8]
jle 0x455141
cmp edx, dword [ecx]
je 0x455141
sub edi, esi
sar edi, 1
dec ebp
sub ebx, edi
mov ecx, dword [esp + 0x684]
test cl, 0x10
je 0x45515b
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x45515b
mov ebx, dword [esp + 0x5c]
mov ebp, eax
test ecx, 0x8000
je 0x455195
test ebp, ebp
jle 0x455195
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
push esi
push eax
call edi
dec ebp
test ebp, ebp
jle 0x455182
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
mov edx, dword [esp + 0x34]
sub esi, eax
mov eax, dword [edx + 8]
sar esi, 1
sub ebx, esi
mov dword [esp + 0x44], eax
mov edx, eax
cmp dword [esp + 0x3c], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1a], 1
jg 0x4551a8
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x90]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x455295
cmp byte [esp + 0x18], 0
je 0x455295
mov ecx, dword [esp + 0x684]
mov eax, ecx
and eax, 0x20
jne 0x45520a
cmp dword [esp + 0xc0], eax
je 0x45520a
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x90]
mov esi, dword [esp + 0xa8]
sub eax, dword [edi]
cdq
sub eax, edx
sar eax, 1
add esi, eax
jmp 0x455239
test eax, eax
jne 0x45522e
test cl, 2
je 0x45522e
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x90]
mov esi, dword [esp + 0xa8]
sub eax, dword [edi]
add esi, eax
jmp 0x455239
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, ebp
sub edx, dword [eax + 0x10]
push ebx
sub edx, dword [eax]
mov eax, dword [esp + 0x20]
add edx, dword [esp + 0x7c]
push ecx
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_TextOutW]
mov ecx, dword [esp + 0x44]
cmp ecx, dword [edi + 8]
jl 0x455295
test dword [esp + 0x684], 0x8000
je 0x455295
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x1c]
push 3
push 0x5a86cc
push ebp
add esi, edx
push esi
push eax
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x90]
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
jg 0x4552ae
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
lea eax, [ecx + ebx*2]
mov dword [esp + 0x14], eax
jmp 0x455457
cmp cx, 0xa
jne 0x4552cb
add eax, 2
mov dword [esp + 0x14], eax
test dl, dl
je 0x4552d4
mov byte [esp + 0x1a], 0
cmp byte [esp + 0x18], 0
jne 0x455392
cmp byte [esp + 0x2b], 0
je 0x45534c
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x45534c
cmp edi, esi
jl 0x4552f4
mov edi, esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xa0]
add ecx, ebx
push ecx
mov ecx, dword [esp + 0xa0]
push edi
mov eax, ebp
shl eax, 4
add eax, dword [esp + 0xac]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x98]
inc ebp
mov edx, ebp
imul edx, edx, 0x84
mov ecx, dword [edx + eax - 0x84]
lea esi, [edx + eax]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x84], ebp
call fcn.004671e0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
cmp edi, ebp
jge 0x45537a
mov edx, dword [esp + 0x24]
lea esi, [edx + ebx]
mov edx, dword [esp + 0xa4]
mov ecx, edi
shl ecx, 4
lea edx, [ecx + edx + 0xc]
mov ecx, ebp
sub ecx, edi
nop
mov dword [edx], esi
add edx, 0x10
sub ecx, 1
jne 0x455370
mov dl, byte [esp + 0x19]
test dl, dl
je 0x4553b3
mov cl, byte [esp + 0x4e]
mov ebp, edi
mov byte [esp + 0x2b], cl
mov dword [esp + 0x7c], ebp
jmp 0x4553b3
mov cl, byte [esp + 0x2b]
test cl, cl
je 0x4553a7
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x4553a7
inc ebp
mov dword [esp + 0x7c], ebp
mov dl, byte [esp + 0x19]
mov byte [esp + 0x4e], cl
mov dword [esp + 0x60], ebp
test byte [esp + 0x684], 0x20
je 0x4553db
test dl, dl
je 0x4555f1
mov cl, byte [esp + 0x18]
test cl, cl
jne 0x4555f1
mov ebx, dword [esp + 0x48]
mov dl, byte [esp + 0x19]
jmp 0x4553df
mov cl, byte [esp + 0x18]
test dl, dl
je 0x4553ec
test cl, cl
sete cl
mov byte [esp + 0x18], cl
mov esi, dword [esp + 0x34]
mov edi, dword [esi]
mov dword [esp + 0x44], edi
test cl, cl
jne 0x455402
add ebx, dword [esp + 0x24]
mov dword [esp + 0x48], ebx
cmp ebx, dword [esi + 0xc]
jle 0x455413
test dl, dl
jne 0x4555f1
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
lea ecx, [edx - 1]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ebx
test ecx, ecx
jl 0x455439
cmp ecx, edx
jge 0x455439
mov edx, dword [esp + 0x50]
mov esi, dword [edx + ecx*4]
jmp 0x45543b
xor esi, esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x10]
add ecx, dword [edx]
add ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
cmp edi, dword [ecx + 8]
jge 0x4555ed
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
cmp edx, dword [ecx + 8]
jge 0x455472
movzx ecx, word [eax]
cmp cx, 0xa
je 0x455472
test cx, cx
jne 0x455477
mov byte [esp + 0x1a], 1
cmp byte [esp + 0x19], 0
je 0x4555e1
cmp byte [esp + 0x1a], 0
je 0x4555e1
cmp byte [esp + 0x18], 0
jne 0x45572c
mov edi, dword [esp + 0x104]
push edi
lea esi, [esp + 0x68]
call fcn.00466e40
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0x64]
lea edx, [edi*4]
push edx
push eax
push ebx
call fcn.00530500
mov edi, dword [esp + 0x11c]
add esp, 0xc
push edi
lea esi, [esp + 0x84]
call fcn.00466e40
mov edx, dword [esp + 0x10c]
mov ebp, dword [esp + 0x80]
lea ecx, [edi*4]
push ecx
push edx
push ebp
call fcn.00530500
mov edi, dword [esp + 0x104]
add esp, 0xc
push edi
lea esi, [esp + 0x54]
call fcn.00466e40
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x50]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.00530500
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xec]
mov dl, byte [esp + 0x5b]
mov dword [esp + 0x84], eax
mov al, byte [esp + 0x4f]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x674]
mov byte [esp + 0x1b], dl
test ecx, ecx
jle 0x455573
lea eax, [ecx - 1]
test eax, eax
jl 0x455571
cmp eax, ecx
jge 0x455571
mov eax, dword [ebp + eax*4]
jmp 0x455573
xor eax, eax
mov esi, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
shr eax, 0x10
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x68]
lea eax, [ecx - 1]
test eax, eax
jl 0x4555b0
cmp eax, ecx
jge 0x4555b0
mov eax, dword [ebx + eax*4]
test eax, eax
jne 0x4555b9
mov eax, dword [esp + 0x30]
call fcn.0044c390
mov edx, dword [eax]
push edx
lea ecx, [eax + 0x90]
push esi
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esp + 0x43], 0
je 0x4555dd
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
test cx, cx
jne 0x453913
mov ebp, dword [esp + 0x7c]
test dword [esp + 0x684], 0x400
mov eax, dword [esp + 0x74]
mov dword [eax], ebp
je 0x455630
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jle 0x455619
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
cmp eax, edx
jl 0x45562d
mov eax, edx
mov dword [ecx + 8], eax
cmp byte [esp + 0x19], 0
je 0x45564a
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [esp + 0xe8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xf0]
push eax
call esi
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x45568b
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x45569f
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4556b3
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x4b4]
lea ecx, [esp + 0x4b8]
cmp eax, ecx
je 0x4556ce
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4556df
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4556f3
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x455704
push eax
call fcn.005282dc
add esp, 4
mov ecx, dword [esp + 0x654]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.005273c3
add esp, 0x64c
ret
mov edi, dword [esp + 0x68]
push edi
lea esi, [esp + 0x104]
call fcn.00466e40
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x100]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.00530500
mov edi, dword [esp + 0x90]
add esp, 0xc
push edi
lea esi, [esp + 0x110]
call fcn.00466e40
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x10c]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.00530500
mov edi, dword [esp + 0x60]
add esp, 0xc
push edi
lea esi, [esp + 0xf8]
call fcn.00466e40
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xf4]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.00530500
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x2f]
mov dl, byte [esp + 0x27]
add esp, 0xc
mov dword [esp + 0xe0], eax
mov byte [esp + 0x43], cl
mov byte [esp + 0x4f], dl
jmp 0x4555e1