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

Disassembly:
push 0xffffffffffffffff
push 0x479458
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4921bc]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
test eax, eax
mov ebp, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
mov esi, dword [esp + 0x12c]
mov edx, dword [esp + 0x138]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
je 0x45746e
test ecx, ecx
je 0x45746e
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45746e
mov ebx, dword [esp + 0x13c]
shr ebx, 0xa
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
not bl
push eax
and bl, 1
push ebp
mov byte [esp + 0x27], bl
call dword [sym.imp.GDI32.dll_GetClipBox]
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea ecx, [esp + 0xa8]
push ecx
call edi
push esi
mov dword [esp + 0x84], eax
call edi
test bl, bl
mov dword [esp + 0x9c], eax
je 0x45651e
push 1
push eax
push ebp
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
push edx
call fcn.00432b00
lea edi, [eax + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
push eax
push ebp
mov dword [esp + 0x48], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push ebp
mov dword [esp + 0x94], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [esp + 0x134]
movzx eax, bh
mov ah, bl
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
shl eax, 8
or eax, edx
push eax
push ebp
mov dword [esp + 0x84], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x13c]
mov ebp, eax
and ebp, 1
mov dword [esp + 0x90], ebp
jne 0x456596
test al, 0xe
je 0x456686
test eax, 0x400
jne 0x456686
or eax, 0x400
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x7c]
push edx
push eax
push ecx
mov dword [esp + 0x90], 0x270f
mov dword [esp + 0x94], 0x64
call fcn.00456420
mov al, byte [esp + 0x158]
add esp, 0x1c
test al, 0x20
je 0x456638
test ebp, ebp
je 0x456627
mov ebp, dword [esi]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x6c]
sub eax, ebp
cdq
sub eax, edx
mov ebx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar ebx, 1
sub ebx, eax
mov al, byte [esp + 0x13c]
add ebp, ebx
mov dword [esi], ebp
add ebp, ecx
mov dword [esi + 8], ebp
test al, 2
je 0x456638
mov edx, dword [esi + 8]
sub edx, dword [esp + 0x74]
add edx, dword [esp + 0x6c]
mov dword [esi], edx
test al, 4
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
je 0x456678
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x5c], eax
mov eax, ebp
sub eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
sub edx, eax
lea eax, [edx + ecx]
mov dword [esi + 4], eax
sub eax, ebx
add eax, ebp
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x13c]
test al, 8
je 0x456686
mov eax, dword [esi + 0xc]
sub eax, ebp
add eax, ebx
mov dword [esi + 4], eax
mov eax, dword [edi + 0x10]
add eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
movzx ecx, word [eax]
mov dword [esp + 0x2c], edx
xor edx, edx
cmp cx, dx
mov dword [esp + 0x34], edx
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], dl
mov dword [esp + 0x5c], eax
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], dl
mov dword [esp + 0x48], edx
mov byte [esp + 0x20], dl
je 0x4573f1
jmp 0x4566dc
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esi + 8]
cmp dword [esp + 0x28], ebp
mov ebx, dword [sym.imp.GDI32.dll_SetBkMode]
jge 0x4572cc
cmp cx, 0xa
je 0x4572d2
cmp byte [esp + 0x21], 0
jne 0x4572cc
cmp byte [esp + 0x22], 0
jne 0x457007
cmp cx, 0x3c
je 0x45671f
cmp cx, 0x7b
jne 0x456ccf
movzx edx, word [eax + 2]
cmp dx, 0x61
lea ebp, [eax + 2]
jb 0x456ccf
cmp dx, 0x7a
ja 0x456ccf
movzx edx, word [eax + 4]
cmp dx, 0x20
je 0x456754
cmp dx, 0x3e
je 0x456754
cmp dx, 0x7d
jne 0x456ccf
mov eax, ebp
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
add ecx, 0xffffff9e
cmp ecx, 0x17
ja case.0x456770.100
movzx ecx, byte [ecx + 0x4574dc]
jmp dword [ecx*4 + 0x4574b0]
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x45679f
cmp cx, 0x20
ja 0x45679f
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456786
xor edx, edx
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], edx
mov word [esp + 0xd8], dx
mov dword [esp + 0x11c], edx
movzx ecx, word [eax]
cmp cx, dx
je 0x45681a
lea ebx, [ebx]
cmp cx, 0x3e
je 0x45681a
cmp cx, 0x7d
je 0x45681a
cmp cx, 0x20
je 0x45681a
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x456812
movzx ecx, word [eax]
add eax, 2
push ecx
lea edi, [esp + 0xd8]
mov dword [esp + 0x1c], eax
call fcn.004020f0
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x4567f3
movzx ecx, word [eax]
test cx, cx
jne 0x4567d0
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x24], 0
jne 0x456878
cmp dword [esp + 0xe8], 0
je 0x456878
cmp dword [esp + 0xec], 8
mov eax, dword [esp + 0xd8]
jae 0x456846
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0x50]
push eax
call fcn.00432b00
test eax, eax
je 0x456878
mov ecx, dword [esp + 0x24]
lea esi, [eax + 0x28]
mov eax, dword [eax]
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x456878
mov dword [esp + 0x30], eax
lea esi, [esp + 0xd4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00432680
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x4568bc
cmp cx, 0x20
ja 0x4568bc
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x4568a3
cmp word [eax], 0x23
jne 0x4568c9
add eax, 2
mov dword [esp + 0x18], eax
push 0x10
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00463632
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx edx, al
mov eax, dword [esp + 0x30]
add esp, 0xc
shl ecx, 8
or ecx, edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x456922
cmp cx, 0x20
ja 0x456922
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456909
xor edx, edx
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], edx
mov word [esp + 0xbc], dx
mov dword [esp + 0x11c], 1
movzx ecx, word [eax]
cmp cx, dx
je 0x4569f3
cmp cx, 0x3e
je 0x45699f
cmp cx, 0x7d
je 0x45699f
cmp cx, 0x20
je 0x45699f
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x456997
movzx ecx, word [eax]
add eax, 2
push ecx
lea edi, [esp + 0xbc]
mov dword [esp + 0x1c], eax
call fcn.004020f0
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x456978
movzx ecx, word [eax]
test cx, cx
jne 0x456955
cmp dword [esp + 0xcc], 0
je 0x4569f3
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x4569c1
lea eax, [esp + 0xbc]
mov ecx, dword [esp + 0x50]
push eax
call fcn.00432b00
test eax, eax
je 0x4569f3
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
push ecx
lea esi, [eax + 0x28]
push edx
mov dword [esp + 0x48], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x4569f3
mov dword [esp + 0x30], eax
lea esi, [esp + 0xb8]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00432680
jmp 0x456c92
add eax, 2
test byte [esp + 0x13c], 0x20
mov dword [esp + 0x18], eax
jne case.0x456770.100
mov byte [esp + 0x21], 1
jmp case.0x456770.100
mov ecx, dword [esp + 0x28]
add eax, 2
cmp ecx, dword [esi]
mov dword [esp + 0x18], eax
jle 0x456a42
mov byte [esp + 0x21], 1
movzx ecx, word [eax]
test cx, cx
jbe 0x456a69
lea ebx, [ebx]
cmp cx, 0x20
ja 0x456a69
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456a50
push 0xa
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00463632
mov ecx, dword [edi + 0x10]
add ecx, eax
add ecx, dword [edi]
add esp, 0xc
cmp dword [esp + 0x30], ecx
jg 0x456c92
mov dword [esp + 0x30], ecx
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
mov byte [esp + 0x22], 1
jmp case.0x456770.100
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x18], eax
sete cl
cmp byte [esp + 0x1f], 0
mov byte [esp + 0x23], cl
je case.0x456770.100
cmp byte [esp + 0x20], 0
je case.0x456770.100
test cl, cl
je 0x456adf
mov eax, dword [esp + 0x24]
push 2
push eax
call ebx
jmp 0x456c92
mov ecx, dword [esp + 0x24]
push 1
push ecx
call ebx
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x456b15
cmp cx, 0x20
ja 0x456b15
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456afc
xor edx, edx
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], edx
mov word [esp + 0xf4], dx
mov dword [esp + 0x11c], 2
movzx ecx, word [eax]
cmp cx, dx
je 0x456b8e
cmp cx, 0x3e
je 0x456b8e
cmp cx, 0x7d
je 0x456b8e
cmp cx, 0x20
je 0x456b8e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x456b86
movzx ecx, word [eax]
add eax, 2
push ecx
lea edi, [esp + 0xf4]
mov dword [esp + 0x1c], eax
call fcn.004020f0
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x456b67
movzx ecx, word [eax]
test cx, cx
jne 0x456b44
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x25], 0
jne 0x456bec
cmp dword [esp + 0x104], 0
je 0x456bec
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
jae 0x456bba
lea eax, [esp + 0xf4]
mov ecx, dword [esp + 0x50]
push eax
call fcn.00432b00
test eax, eax
je 0x456bec
mov ecx, dword [esp + 0x24]
lea esi, [eax + 0x28]
mov eax, dword [eax]
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x456bec
mov dword [esp + 0x30], eax
lea esi, [esp + 0xf0]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00432680
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x456c30
cmp cx, 0x20
ja 0x456c30
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456c17
push 0xa
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00463632
mov ecx, dword [esp + 0x34]
add ecx, eax
add esp, 0xc
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
jg 0x456c92
mov dword [esp + 0x34], ecx
jmp 0x456c92
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x456c7e
cmp cx, 0x20
ja 0x456c7e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x456c65
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x456cbf
mov edi, edi
cmp cx, 0x3e
je 0x456cbf
cmp cx, 0x7d
je 0x456cbf
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jne 0x456ca0
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
jmp 0x457352
cmp cx, 0x3c
je 0x456cdf
cmp cx, 0x7b
jne 0x456e2e
cmp word [eax + 2], 0x2f
jne 0x456e2e
add eax, 4
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
add ecx, 0xffffff9e
cmp ecx, 0x13
ja case.0x456d07.100
movzx edx, byte [ecx + 0x457508]
jmp dword [edx*4 + 0x4574f4]
mov ecx, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x456df5
mov edx, dword [esp + 0x28]
add eax, 2
cmp edx, dword [esi]
mov dword [esp + 0x18], eax
jle 0x456d3e
mov byte [esp + 0x21], 1
mov ecx, dword [edi + 0x10]
add ecx, dword [edi]
cmp dword [esp + 0x30], ecx
jg case.0x456d07.100
mov dword [esp + 0x30], ecx
jmp case.0x456d07.100
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x18], eax
sete cl
cmp byte [esp + 0x1f], 0
mov byte [esp + 0x23], cl
je case.0x456d07.100
cmp byte [esp + 0x20], 0
je case.0x456d07.100
test cl, cl
je 0x456d8e
mov edx, dword [esp + 0x24]
push 2
push edx
call ebx
jmp 0x456df5
mov eax, dword [esp + 0x24]
push 1
push eax
call ebx
jmp 0x456df5
add eax, 2
mov dword [esp + 0x18], eax
cmp byte [edi + 0x34], 0
mov edi, dword [esp + 0x4c]
je 0x456dd1
cmp byte [edi + 0x26], 0
jne 0x456dd1
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x6c]
push ecx
push 0x20
push 0x20
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov eax, dword [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x28], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
push eax
lea esi, [edi + 0x28]
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x456df5
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
mov esi, dword [sym.imp.USER32.dll_CharNextW]
je 0x456e22
cmp cx, 0x3e
je 0x456e22
cmp cx, 0x7d
je 0x456e22
push eax
call esi
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jne 0x456e07
push eax
call esi
mov dword [esp + 0x18], eax
jmp 0x457352
cmp cx, 0x3c
jne 0x456eca
cmp word [eax + 4], 0x3e
jne 0x456eca
movzx esi, word [eax + 2]
cmp si, 0x7b
lea edx, [eax + 2]
je 0x456e56
cmp si, 0x7d
jne 0x456eca
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa0]
push eax
push 1
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x1f], 0
je 0x456eba
cmp byte [esp + 0x20], 0
je 0x456eba
mov edx, dword [esp + 0x48]
sub edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x18]
sub edx, dword [edi]
mov esi, dword [esp + 0x28]
add edx, dword [esp + 0x2c]
push 1
add ecx, 2
push ecx
push edx
push esi
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
add esi, dword [esp + 0xa0]
jmp 0x456f5b
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0xa0]
jmp 0x456f5b
cmp cx, 0x7b
jne 0x456f79
cmp word [eax + 4], 0x7d
jne 0x456f79
movzx esi, word [eax + 2]
cmp si, 0x3c
lea edx, [eax + 2]
je 0x456ef6
cmp si, 0x3e
jne 0x456f79
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
push eax
push 1
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x1f], 0
je 0x456f50
cmp byte [esp + 0x20], 0
je 0x456f50
mov edx, dword [esp + 0x48]
sub edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x18]
sub edx, dword [edi]
mov esi, dword [esp + 0x28]
add edx, dword [esp + 0x2c]
push 1
add ecx, 2
push ecx
push edx
push esi
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
jmp 0x456f54
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x84]
cmp dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
jg 0x456f69
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x18]
add eax, 6
mov dword [esp + 0x18], eax
jmp 0x457352
cmp cx, 0x20
jne 0x457007
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
lea eax, [esp + 0x94]
push eax
push 1
push 0x47d2f0
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x1f], 0
je 0x456fde
cmp byte [esp + 0x20], 0
je 0x456fde
mov ecx, dword [esp + 0x48]
sub ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x28]
sub ecx, dword [edi]
push 1
add ecx, dword [esp + 0x30]
push 0x47d2f0
push ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
jmp 0x456fe2
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x94]
cmp dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
jg 0x456ff7
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x457352
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
xor edx, edx
xor ebp, ebp
xor ebx, ebx
cmp byte [esp + 0x22], dl
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], edx
mov esi, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
jne 0x457033
cmp word [eax], 0x3c
je 0x457039
cmp word [eax], 0x7b
jne 0x457043
mov ebp, 1
lea esi, [eax + 2]
mov ebx, ebp
movzx ecx, word [esi]
cmp cx, dx
je 0x4571d3
nop
cmp cx, 0xa
je 0x4571d3
cmp byte [esp + 0x22], 0
je 0x457095
cmp cx, 0x3c
je 0x45706d
cmp cx, 0x7b
jne 0x4570a9
cmp word [esi + 2], 0x2f
jne 0x4570a9
cmp word [esi + 4], 0x72
jne 0x4570a9
movzx ecx, word [esi + 6]
cmp cx, 0x3e
je 0x45708b
cmp cx, 0x7d
jne 0x4570a9
mov byte [esp + 0x22], 0
jmp 0x4571d3
cmp cx, 0x3c
je 0x4571d3
cmp cx, 0x7b
je 0x4571d3
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov edi, eax
sub eax, esi
sar eax, 1
add ebx, eax
mov eax, dword [ecx + 0x18]
add ebp, 1
imul eax, ebp
lea ecx, [eax + edx]
mov edx, dword [esp + 0x3c]
cmp ecx, dword [edx + 8]
mov dword [esp + 0x54], eax
jl 0x4570f3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x3c]
cmp edx, dword [ecx + 8]
jg 0x457152
movzx eax, word [esi]
cmp ax, 0x61
jb 0x457112
cmp ax, 0x7a
jbe 0x457126
cmp ax, 0x41
jb 0x45711e
cmp ax, 0x5a
jbe 0x457126
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], ebx
cmp ax, 0x20
jne 0x457134
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], ebx
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx ecx, word [esi]
test cx, cx
mov eax, dword [esp + 0x18]
jne 0x457050
jmp 0x4571d3
mov edx, dword [esp + 0x28]
add eax, edx
cmp eax, dword [ecx + 8]
jle 0x45716a
cmp edx, dword [ecx]
je 0x45716a
sub edi, esi
sar edi, 1
sub ebp, 1
sub ebx, edi
mov ecx, dword [esp + 0x13c]
test cl, 0x10
je 0x457184
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x457184
mov ebx, dword [esp + 0x44]
mov ebp, eax
test ecx, 0x8000
je 0x4571c0
test ebp, ebp
jle 0x4571c0
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
push esi
push eax
call edi
add ebp, 0xffffffff
test ebp, ebp
jle 0x4571ad
mov ecx, dword [esp + 0x18]
push eax
push ecx
call edi
mov edx, dword [esp + 0x3c]
sub esi, eax
mov eax, dword [edx + 8]
sar esi, 1
sub ebx, esi
mov dword [esp + 0x28], eax
mov edx, eax
cmp dword [esp + 0x34], edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x21], 1
jg 0x4571d3
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x1f], 0
je 0x4572a6
cmp byte [esp + 0x20], 0
je 0x4572a6
mov ecx, dword [esp + 0x13c]
mov eax, ecx
and eax, 0x20
jne 0x45722a
cmp dword [esp + 0x90], eax
je 0x45722a
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x54]
sub eax, dword [edi]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x64], eax
jmp 0x45724a
test eax, eax
jne 0x457246
test cl, 2
je 0x457246
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
sub eax, dword [esp + 0x54]
sub eax, dword [edi]
add dword [esp + 0x64], eax
jmp 0x45724a
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_TextOutW]
mov edx, esi
sub edx, dword [eax + 0x10]
push ebx
sub edx, dword [eax]
mov eax, dword [esp + 0x68]
add edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call ebp
mov edx, dword [esp + 0x28]
cmp edx, dword [edi + 8]
jl 0x4572a6
test dword [esp + 0x13c], 0x8000
je 0x4572a6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
push 3
push 0x485b40
push esi
add ecx, eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x54]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
jg 0x4572bc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*2]
mov dword [esp + 0x18], eax
jmp 0x457352
cmp cx, 0xa
jne 0x4572d9
add eax, 2
mov dword [esp + 0x18], eax
cmp byte [esp + 0x21], 0
je 0x4572e5
mov byte [esp + 0x21], 0
test byte [esp + 0x13c], 0x20
je 0x457307
cmp byte [esp + 0x1f], 0
je 0x4573f1
mov cl, byte [esp + 0x20]
test cl, cl
je 0x45730b
jmp 0x4573f1
mov cl, byte [esp + 0x20]
mov dl, byte [esp + 0x1f]
test dl, dl
je 0x45731c
test cl, cl
sete cl
mov byte [esp + 0x20], cl
test cl, cl
mov ebx, dword [esi]
mov dword [esp + 0x28], ebx
jne 0x45732e
mov ecx, dword [esp + 0x30]
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0xc]
jle 0x45733f
test dl, dl
jne 0x4573f1
mov ecx, dword [edi + 0x10]
add ecx, dword [edi]
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x30], ecx
jge 0x4573ed
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edx + 8]
jge 0x45736d
movzx ecx, word [eax]
cmp cx, 0xa
je 0x45736d
test cx, cx
jne 0x457372
mov byte [esp + 0x21], 1
cmp byte [esp + 0x1f], 0
je 0x4573e1
cmp byte [esp + 0x21], 0
je 0x4573e1
cmp byte [esp + 0x20], 0
jne 0x457496
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov cl, byte [esp + 0x3a]
mov esi, dword [esp + 0x24]
mov bl, byte [esp + 0x3b]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
push edx
push esi
mov dword [esp + 0x20], eax
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], bl
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0x28]
mov eax, dword [eax]
push eax
push esi
mov dword [esp + 0x48], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
test bl, bl
je 0x4573dd
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
jne 0x4566d4
mov esi, dword [esp + 0x3c]
test dword [esp + 0x13c], 0x400
je 0x457427
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x34]
xor edx, edx
test eax, eax
setl dl
sub edx, 1
and eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
cmp eax, ecx
jl 0x457424
mov eax, ecx
mov dword [esi + 8], eax
cmp byte [esp + 0x1f], 0
je 0x457441
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [esp + 0x80]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0x9c]
push eax
call esi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00461f6b
add esp, 0x10c
ret
mov cl, byte [esp + 0x23]
mov dl, byte [esp + 0x22]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3a], dl
jmp 0x4573e1