Function at 0x435a33
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a0fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov esi, dword [esp + 0x664]
mov eax, dword [esp + 0x65c]
mov edi, dword [esp + 0x650]
mov ecx, dword [esp + 0x654]
mov edx, dword [esp + 0x658]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x668]
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x66c]
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], esi
cmp eax, ebp
je 0x437664
cmp ecx, ebp
je 0x437664
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x437664
mov ebx, dword [esp + 0x674]
shr ebx, 0xa
not bl
and bl, 1
mov esi, 0xa
push 0x28
mov byte [esp + 0x1d], bl
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], esi
call fcn.004876f9
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x648], ebp
push 0x28
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
call fcn.004876f9
add esp, 4
mov dword [esp + 0x8c], eax
push 0x28
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], esi
call fcn.004876f9
add esp, 4
mov dword [esp + 0x64], eax
xor eax, eax
mov byte [esp + 0x648], 2
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
lea eax, [esp + 0x144]
push eax
push edi
mov dword [esp + 0x14c], ebp
call dword [sym.imp.GDI32.dll_GetClipBox]
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea ecx, [esp + 0x144]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0xf0], eax
call esi
mov dword [esp + 0xd0], eax
test bl, bl
je 0x435641
push 1
push eax
push edi
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x670]
mov edx, esi
call fcn.00409df0
mov dword [esp + 0x70], eax
cmp eax, ebp
jne 0x435664
call fcn.00409040
mov dword [esp + 0x70], eax
mov edx, dword [eax]
push edx
lea ecx, [eax + 0x90]
push edi
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
mov dword [esp + 0x148], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [esp + 0x660]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx edx, bl
shl edx, 8
or ecx, edx
mov eax, ebx
shr eax, 0x10
movzx edx, al
shl ecx, 8
or ecx, edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, esi
mov eax, dword [eax + 0x564]
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 edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x674]
mov esi, eax
and esi, 1
mov dword [esp + 0x12c], esi
jne 0x4356fc
test al, 0xe
je 0x435822
test eax, 0x400
jne 0x435822
mov ecx, dword [esp + 0x670]
or eax, 0x400
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x88]
push edx
mov edx, dword [esp + 0x54]
push ebp
push ebp
push ebx
push eax
lea ecx, [esp + 0xd0]
push ecx
push edx
push edi
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe4], 0x270f
mov dword [esp + 0xe8], 0x64
mov dword [esp + 0xa8], ebp
call fcn.004354c0
mov al, byte [esp + 0x69c]
mov edi, dword [esp + 0x54]
add esp, 0x28
test al, 0x20
je 0x4357c6
mov edx, dword [esp + 0xb4]
cmp esi, ebp
mov esi, dword [esp + 0xbc]
je 0x4357b9
mov ecx, dword [edi]
mov eax, esi
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [edi + 8]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xb4]
sar eax, 1
sar ebx, 1
sub eax, ebx
add eax, ecx
mov dword [edi], eax
sub eax, edx
add eax, esi
mov dword [edi + 8], eax
mov al, byte [esp + 0x674]
test al, 2
je 0x4357c6
mov ecx, dword [edi + 8]
sub ecx, esi
add ecx, edx
mov dword [edi], ecx
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xb8]
test al, 4
je 0x435812
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
sub edx, eax
lea eax, [edx + ecx]
mov dword [edi + 4], eax
sub eax, ebx
add eax, esi
mov dword [edi + 0xc], eax
mov al, byte [esp + 0x674]
test al, 8
je 0x435826
mov edx, dword [edi + 0xc]
sub edx, esi
add edx, ebx
mov dword [edi + 4], edx
jmp 0x435826
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x4a8]
xor ecx, ecx
mov byte [esp + 0x3a], 0
mov dword [esp + 0x4a4], eax
mov word [esp + 0x4a8], cx
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x128]
mov eax, dword [eax + 0x12c]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
cmp eax, dword [edx]
jge 0x4358ce
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4358b8
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
lea esi, [esp + 0x4ac]
call fcn.00402160
mov byte [esp + 0x3a], 1
inc dword [esp + 0x54]
add dword [esp + 0x34], 0x10
add ebx, 0x84
cmp byte [esp + 0x3a], 0
je 0x435877
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx]
xor cl, cl
mov dword [esp + 0x44], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x2b], cl
mov byte [esp + 0x23], cl
mov dword [esp + 0x54], ebp
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], ebp
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], ebp
mov byte [esp + 0x648], 6
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
mov dword [esp + 0xe4], edi
mov byte [esp + 0x4f], cl
mov byte [esp + 0x4e], cl
mov byte [esp + 0x3b], cl
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x18], cl
cmp ax, bp
je 0x43754f
jmp 0x435998
mov ebp, dword [esp + 0x78]
mov cl, byte [esp + 0x1a]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov edx, dword [edx + 8]
cmp esi, edx
mov ebx, dword [esp + 0x44]
jge 0x437221
cmp ax, 0xa
je 0x437227
test cl, cl
jne 0x437221
cmp byte [esp + 0x1b], cl
jne 0x436f26
cmp ax, 0x3c
je 0x4359db
cmp ax, 0x7b
jne 0x436a97
movzx edx, word [edi + 2]
lea ecx, [edi + 2]
cmp dx, 0x61
jb 0x436a97
cmp dx, 0x7a
ja 0x436a97
movzx edx, word [edi + 4]
cmp dx, 0x20
je 0x435a10
cmp dx, 0x3e
je 0x435a10
cmp dx, 0x7d
jne 0x436a97
mov edx, ecx
mov dword [esp + 0x14], edx
movzx eax, word [edx]
add eax, 0xffffff9f
cmp eax, 0x18
ja case.0x435a2c.100
movzx eax, byte [eax + 0x437770]
jmp dword [eax*4 + 0x43773c]
add edx, 2
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jbe 0x435a5d
cmp ax, 0x20
ja 0x435a5d
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x435a42
mov ecx, dword [esp + 0x74]
cmp ebp, dword [ecx]
jge 0x435acf
cmp byte [esp + 0x18], 0
jne 0x435acf
mov esi, ebp
imul esi, esi, 0x84
add esi, dword [esp + 0xb0]
mov edi, esi
call fcn.00402220
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
test ax, ax
je 0x435acf
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x3e
je 0x435acf
cmp ax, 0x7d
je 0x435acf
push ecx
call ebx
mov ecx, dword [esp + 0x14]
mov edi, eax
cmp ecx, edi
jae 0x435ac7
lea ecx, [ecx]
movzx eax, word [ecx]
add ecx, 2
mov dword [esp + 0x14], ecx
call fcn.00402380
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jb 0x435ab0
movzx eax, word [ecx]
test ax, ax
jne 0x435a94
cmp byte [esp + 0x3a], 0
mov ebx, dword [esp + 0x660]
je 0x435b10
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x435b10
mov eax, dword [esp + 0xb0]
imul ebp, ebp, 0x84
mov ecx, dword [eax + ebp]
push ecx
lea ecx, [esp + 0x4a8]
call fcn.004023a0
test al, al
je 0x435b10
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x560]
push ebx
lea esi, [esp + 0x90]
call fcn.00401dd0
mov eax, ebx
shr eax, 8
movzx edx, bl
movzx ecx, al
shl edx, 8
or ecx, edx
shr ebx, 0x10
movzx eax, bl
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 + 0x5c]
mov esi, dword [esp + 0x70]
test eax, eax
jle 0x435b5d
dec eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f40
mov esi, eax
cmp byte [esi + 0x8d], 0
jne 0x435c0b
movzx edx, byte [esi + 0x8e]
movzx ecx, byte [esi + 0x8c]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x48]
push edx
mov edx, dword [esi + 0x88]
push 1
push ecx
push edx
push eax
push edi
call fcn.00409b10
test eax, eax
jne 0x435bbe
movzx ecx, byte [esi + 0x8c]
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x8e]
push eax
mov eax, dword [esi + 0x88]
push 1
push ecx
push eax
push 0x7530
mov ecx, edi
call fcn.00409350
push eax
mov ecx, edi
push ecx
call fcn.00409ee0
mov edi, eax
push edi
lea esi, [esp + 0x5c]
call fcn.00401dd0
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push edx
lea esi, [edi + 0x90]
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x68]
dec ecx
push ecx
lea ecx, [esp + 0x68]
call fcn.00401f40
add eax, dword [esi + 0x10]
mov edx, dword [esi]
add eax, edx
cmp dword [esp + 0x24], eax
jg 0x435c0b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x2b], 1
jmp 0x4368e2
mov esi, dword [esp + 0x70]
add edx, 2
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x14], edx
jle 0x435c4e
mov eax, dword [esp + 0x5c]
dec eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f40
mov esi, eax
cmp byte [esi + 0x8c], 0
jne case.0x435a2c.100
movzx ecx, byte [esi + 0x8e]
movzx edx, byte [esi + 0x8d]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x88]
push edx
push 1
push ecx
push eax
push edi
call fcn.00409b10
test eax, eax
jne 0x435caf
movzx ecx, byte [esi + 0x8d]
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x8e]
push eax
mov eax, dword [esi + 0x88]
push ecx
push 1
push eax
push 0x7530
mov ecx, edi
call fcn.00409350
push eax
push edi
call fcn.00409ee0
mov edi, eax
push edi
lea esi, [esp + 0x5c]
call fcn.00401dd0
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push ecx
lea esi, [edi + 0x90]
push edx
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x68]
dec eax
push eax
lea ecx, [esp + 0x68]
call fcn.00401f40
add eax, dword [esi + 0x10]
mov ecx, dword [esi]
add eax, ecx
cmp dword [esp + 0x24], eax
jg 0x4368e2
mov dword [esp + 0x24], eax
jmp 0x4368e2
add edx, 2
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jbe 0x435d2d
cmp ax, 0x20
ja 0x435d2d
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x435d12
cmp word [edx], 0x23
jne 0x435d3a
add edx, 2
mov dword [esp + 0x14], edx
push 0x10
lea eax, [esp + 0x18]
push eax
push edx
call fcn.00488d69
add esp, 0xc
mov ebx, eax
push ebx
lea esi, [esp + 0x90]
call fcn.00401dd0
mov ecx, ebx
shr ecx, 8
movzx eax, bl
movzx edx, cl
shl eax, 8
or edx, eax
shr ebx, 0x10
movzx ecx, bl
shl edx, 8
or edx, ecx
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4368e2
add edx, 2
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jbe 0x435daf
cmp ax, 0x20
ja 0x435daf
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x435d94
push 0xa
lea eax, [esp + 0x18]
push eax
push edx
mov esi, edx
call fcn.00488d69
mov ecx, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp esi, eax
je 0x435dd9
mov edx, dword [esp + 0x48]
call fcn.00409df0
jmp 0x435cb6
lea ecx, [esp + 0x310]
xor edx, edx
mov dword [esp + 0x30c], ecx
mov word [esp + 0x310], dx
lea ecx, [esp + 0x178]
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x174], ecx
mov word [esp + 0x178], dx
mov byte [esp + 0x648], 8
movzx ecx, word [eax]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov byte [esp + 0xd8], dl
mov byte [esp + 0xe0], dl
mov byte [esp + 0xe8], dl
test cx, cx
je 0x435ea1
lea ebx, [ebx]
cmp cx, 0x3e
je 0x435ea1
cmp cx, 0x7d
je 0x435ea1
cmp cx, 0x20
je 0x435ea1
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
jae 0x435e99
nop
movzx ecx, word [eax]
add eax, 2
mov word [esp + 0xd4], cx
lea ecx, [esp + 0xd4]
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0x310]
xor eax, eax
push edx
mov word [esp + 0xde], ax
call fcn.00402020
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x435e60
movzx ecx, word [eax]
test cx, cx
jne 0x435e40
movzx ecx, word [eax]
test cx, cx
jbe 0x435ec5
lea esp, [esp]
cmp cx, 0x20
ja 0x435ec5
push eax
call edi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x435eb0
movzx eax, word [eax]
push eax
call fcn.00489e3c
add esp, 4
test eax, eax
je 0x435eed
mov edx, dword [esp + 0x14]
push 0xa
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00488d69
add esp, 0xc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
test cx, cx
jbe 0x435f15
lea esp, [esp]
cmp cx, 0x20
ja 0x435f15
push eax
call edi
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
ja 0x435f00
movzx ecx, word [eax]
test cx, cx
je 0x435f81
lea ecx, [ecx]
cmp cx, 0x3e
je 0x435f81
cmp cx, 0x7d
je 0x435f81
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
jae 0x435f79
lea esp, [esp]
movzx ecx, word [eax]
add eax, 2
mov word [esp + 0xdc], cx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0x178]
xor eax, eax
push edx
mov word [esp + 0xe6], ax
call fcn.00402020
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x435f40
movzx ecx, word [eax]
test cx, cx
jne 0x435f20
mov eax, dword [esp + 0x174]
push eax
call fcn.00489a64
mov ecx, dword [esp + 0x178]
add esp, 4
push 0x4b5928
push ecx
call fcn.004875c9
mov ecx, dword [esp + 0x17c]
add esp, 8
test eax, eax
je 0x435fbf
sub eax, ecx
sar eax, 1
js 0x435fbf
mov byte [esp + 0xd8], 1
push str.underline
push ecx
call fcn.004875c9
mov ecx, dword [esp + 0x17c]
add esp, 8
test eax, eax
je 0x435fe6
sub eax, ecx
sar eax, 1
js 0x435fe6
mov byte [esp + 0xe0], 1
push str.italic
push ecx
call fcn.004875c9
add esp, 8
test eax, eax
je 0x43600b
sub eax, dword [esp + 0x174]
sar eax, 1
js 0x43600b
mov byte [esp + 0xe8], 1
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xe0]
mov ebp, dword [esp + 0xd8]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30c]
mov ebx, dword [esp + 0x48]
push esi
push edi
push ebp
push edx
push eax
push ebx
call fcn.00409b10
test eax, eax
jne 0x43605a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30c]
push eax
push esi
push edi
push ebp
push ecx
push 0x7530
mov ecx, ebx
call fcn.00409350
push eax
push ebx
call fcn.00409ee0
mov edi, eax
push edi
lea esi, [esp + 0x5c]
call fcn.00401dd0
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push edx
lea esi, [edi + 0x90]
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x4360a0
push eax
call fcn.0048836e
add esp, 4
mov byte [esp + 0x648], 6
mov eax, dword [esp + 0x30c]
lea edx, [esp + 0x310]
cmp eax, edx
je 0x435cda
push eax
call fcn.0048836e
add esp, 4
jmp 0x435cda
lea eax, [edx - 2]
add edx, 2
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x5bc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
call fcn.00401f70
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
xor ebp, ebp
cmp ax, bp
jbe 0x436117
lea ecx, [ecx]
cmp ax, 0x20
ja 0x436117
push edx
call ebx
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
cmp ax, bp
ja 0x436100
lea ecx, [esp + 0x398]
xor eax, eax
mov dword [esp + 0x394], ecx
mov word [esp + 0x398], ax
mov byte [esp + 0x648], 0xa
movzx eax, word [edx]
cmp ax, bp
je 0x4361b1
nop
cmp ax, 0x3e
je 0x4361a1
cmp ax, 0x7d
je 0x4361a1
cmp ax, 0x20
je 0x4361a1
push edx
call ebx
mov edx, dword [esp + 0x14]
mov edi, eax
cmp edx, edi
jae 0x436199
nop
movzx eax, word [edx]
add edx, 2
mov dword [esp + 0x14], edx
lea edx, [esp + 0xc8]
mov word [esp + 0xc8], ax
push edx
lea eax, [esp + 0x398]
xor ecx, ecx
push eax
mov word [esp + 0xd2], cx
call fcn.00402020
mov edx, dword [esp + 0x14]
cmp edx, edi
jb 0x436160
movzx eax, word [edx]
cmp ax, bp
jne 0x436140
mov ecx, dword [esp + 0x394]
cmp word [ecx], bp
jne 0x436287
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov esi, dword [esp + 0x70]
mov dword [esp + 0x34], ebp
jle 0x4361ce
dec eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f40
mov esi, eax
cmp byte [esi + 0x8e], 0
jne 0x4367b1
movzx edx, byte [esi + 0x8d]
movzx ecx, byte [esi + 0x8c]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x48]
push 1
push edx
mov edx, dword [esi + 0x88]
push ecx
push edx
push eax
push edi
call fcn.00409b10
test eax, eax
jne 0x43622f
movzx ecx, byte [esi + 0x8c]
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x8d]
push 1
push eax
mov eax, dword [esi + 0x88]
push ecx
push eax
push 0x7530
mov ecx, edi
call fcn.00409350
push eax
push edi
call fcn.00409ee0
mov edi, eax
push edi
lea esi, [esp + 0x5c]
call fcn.00401dd0
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push ecx
lea esi, [edi + 0x90]
push edx
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x68]
dec eax
push eax
lea ecx, [esp + 0x68]
call fcn.00401f40
add eax, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
add eax, ecx
cmp dword [esp + 0x24], eax
jg 0x4367b1
mov dword [esp + 0x24], eax
jmp 0x4367b1
movzx eax, word [edx]
cmp ax, bp
jbe 0x4362a7
nop
cmp ax, 0x20
ja 0x4362a7
push edx
call ebx
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
cmp ax, bp
ja 0x436290
push 0xa
lea eax, [esp + 0x18]
push eax
push edx
call fcn.00488d69
mov esi, eax
add esp, 0xc
cmp esi, ebp
mov dword [esp + 0x50], eax
jg 0x4362ca
mov esi, 1
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
cmp cx, bp
jbe 0x4362eb
cmp cx, 0x20
ja 0x4362eb
push eax
call ebx
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
cmp cx, bp
ja 0x4362d6
push 0xa
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00488d69
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x98], eax
jl 0x43630a
cmp eax, esi
jl 0x436311
mov dword [esp + 0x98], ebp
mov edx, dword [esp + 0x5b4]
push str.file
push edx
call fcn.004875c9
add esp, 8
test eax, eax
jne 0x43635f
mov eax, dword [esp + 0x5b4]
push str.res
push eax
call fcn.004875c9
add esp, 8
test eax, eax
jne 0x43635f
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x394]
push ebp
push ebp
push ebp
push ebp
push ecx
call fcn.0040a060
mov ebp, eax
jmp 0x436642
lea edx, [esp + 0x530]
xor eax, eax
mov dword [esp + 0x52c], edx
mov word [esp + 0x530], ax
lea ecx, [esp + 0x420]
xor edx, edx
mov dword [esp + 0x41c], ecx
mov word [esp + 0x420], dx
mov ebp, dword [esp + 0x5b4]
lea eax, [esp + 0x200]
xor ecx, ecx
mov dword [esp + 0x1fc], eax
mov word [esp + 0x200], cx
lea edx, [esp + 0x288]
xor eax, eax
mov dword [esp + 0x284], edx
mov word [esp + 0x288], ax
mov byte [esp + 0x648], 0xe
cmp word [ebp], ax
je 0x4365ad
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
lea edi, [esp + 0x1fc]
call fcn.00402220
lea edi, [esp + 0x284]
call fcn.00402220
movzx eax, word [ebp]
test ax, ax
jbe 0x436415
cmp ax, 0x20
ja 0x436415
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x436401
movzx eax, word [ebp]
test ax, ax
je 0x43646e
cmp ax, 0x3d
je 0x43646e
cmp ax, 0x20
jbe 0x43646e
push ebp
call ebx
mov esi, eax
cmp ebp, esi
jae 0x436465
mov cx, word [ebp]
lea eax, [esp + 0xcc]
mov word [esp + 0xcc], cx
push eax
lea ecx, [esp + 0x200]
xor edx, edx
push ecx
mov word [esp + 0xd6], dx
call fcn.00402020
add ebp, 2
cmp ebp, esi
jb 0x436433
movzx eax, word [ebp]
test ax, ax
jne 0x43641e
movzx eax, word [ebp]
test ax, ax
jbe 0x43648b
cmp ax, 0x20
ja 0x43648b
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x436477
mov dx, word [ebp]
add ebp, 2
cmp dx, 0x3d
jne 0x4365ad
movzx eax, word [ebp]
test ax, ax
jbe 0x4364b9
cmp ax, 0x20
ja 0x4364b9
push ebp
call ebx
mov ebp, eax
movzx eax, word [ebp]
test ax, ax
ja 0x4364a5
mov ax, word [ebp]
add ebp, 2
cmp ax, 0x27
jne 0x4365ad
movzx eax, word [ebp]
test ax, ax
je 0x43651d
cmp ax, 0x27
je 0x43651d
push ebp
call ebx
mov esi, eax
cmp ebp, esi
jae 0x436514
mov cx, word [ebp]
lea eax, [esp + 0xc4]
mov word [esp + 0xc4], cx
push eax
lea ecx, [esp + 0x288]
xor edx, edx
push ecx
mov word [esp + 0xce], dx
call fcn.00402020
add ebp, 2
cmp ebp, esi
jb 0x4364e2
movzx eax, word [ebp]
test ax, ax
jne 0x4364d3
mov dx, word [ebp]
add ebp, 2
cmp dx, 0x27
jne 0x4365ad
mov esi, dword [esp + 0x284]
cmp word [esi], 0
je 0x436595
push 0x4b06bc
lea ecx, [esp + 0x200]
call fcn.004023a0
test al, al
jne 0x436586
push 0x4b06c8
lea ecx, [esp + 0x200]
call fcn.004023a0
test al, al
jne 0x436586
push str.restype
lea ecx, [esp + 0x200]
call fcn.004023a0
test al, al
je 0x436595
push 0xffffffffffffffff
push esi
lea esi, [esp + 0x534]
jmp 0x436590
push 0xffffffffffffffff
push esi
lea esi, [esp + 0x424]
call fcn.00402160
mov ax, word [ebp]
add ebp, 2
cmp ax, 0x20
jne 0x4365ad
cmp word [ebp], 0
jne 0x4363e0
mov ecx, dword [esp + 0x52c]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x41c]
push 0
push 0
push 0
push ecx
push edx
call fcn.0040a060
mov ebp, eax
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x288]
cmp eax, ecx
je 0x4365e9
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x1fc]
lea edx, [esp + 0x200]
cmp eax, edx
je 0x436604
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x41c]
lea ecx, [esp + 0x420]
cmp eax, ecx
je 0x43661f
push eax
call fcn.0048836e
add esp, 4
mov byte [esp + 0x648], 0xa
mov eax, dword [esp + 0x52c]
lea edx, [esp + 0x530]
cmp eax, edx
je 0x436642
push eax
call fcn.0048836e
add esp, 4
test ebp, ebp
je 0x4367a5
mov ecx, dword [esp + 0x50]
cmp ecx, 1
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
jle 0x436660
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 8]
mov dword [esp + 0x50], eax
jle 0x43668c
cmp ecx, dword [edx]
jle 0x43668c
test byte [esp + 0x674], 0x20
jne 0x43668c
mov byte [esp + 0x1a], 1
jmp 0x4367ad
cmp byte [esp + 0x19], 0
mov dword [esp + 0x34], 0
je 0x43677e
cmp byte [esp + 0x18], 0
je 0x43677e
mov edx, dword [esp + 0x44]
mov dword [esp + 0x130], ecx
mov ecx, dword [esp + 0x7c]
mov eax, ecx
sub eax, esi
cmp esi, ecx
lea edi, [edx + eax]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x138], edi
lea edi, [ecx + edx]
mov dword [esp + 0x13c], edi
jge 0x4366f9
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov dword [esp + 0x13c], edi
sub edi, esi
mov dword [esp + 0x134], edi
mov ecx, dword [esp + 0x98]
xor eax, eax
mov edx, ecx
push eax
imul edx, ebx
inc ecx
push eax
imul ecx, ebx
push eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
movzx eax, byte [ebp + 0x14]
push 0xff
push eax
mov eax, dword [ebp]
mov dword [esp + 0x180], ecx
lea ecx, [esp + 0x144]
push ecx
mov dword [esp + 0x17c], edx
mov edx, ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
lea eax, [esp + 0x178]
lea edi, [esp + 0x188]
mov dword [esp + 0x194], esi
call fcn.00433150
mov eax, dword [esp + 0x74]
add esp, 0x24
cmp esi, dword [esp + 0x24]
jle 0x436788
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x44]
add esi, edx
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], esi
jg 0x4367ad
mov dword [esp + 0x3c], eax
jmp 0x4367ad
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x394]
lea ecx, [esp + 0x398]
cmp eax, ecx
je 0x4367d0
push eax
call fcn.0048836e
mov edx, dword [esp + 0x18]
add esp, 4
mov byte [esp + 0x648], 6
mov eax, dword [esp + 0x5b4]
lea ecx, [esp + 0x5b8]
cmp eax, ecx
je 0x4367f7
push eax
call fcn.0048836e
mov edx, dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x34], 0
je case.0x435a2c.100
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], edi
jmp 0x4373ba
add edx, 2
test byte [esp + 0x674], 0x20
mov dword [esp + 0x14], edx
jne case.0x435a2c.100
mov byte [esp + 0x1a], 1
jmp case.0x435a2c.100
mov eax, dword [esp + 0x2c]
add edx, 2
cmp esi, dword [eax]
mov dword [esp + 0x14], edx
jle 0x436842
mov byte [esp + 0x1a], 1
movzx eax, word [edx]
test ax, ax
jbe 0x43686b
lea ebx, [ebx]
cmp ax, 0x20
ja 0x43686b
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x436850
push 0xa
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00488d69
add esp, 0xc
mov edi, eax
push edi
lea esi, [esp + 0x68]
call fcn.00401dd0
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
add edx, dword [eax]
add edi, edx
cmp dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
jg case.0x435a2c.100
mov dword [esp + 0x24], edi
jmp case.0x435a2c.100
add edx, 2
mov dword [esp + 0x14], edx
mov byte [esp + 0x1b], 1
jmp case.0x435a2c.100
add edx, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x14], edx
sete al
cmp byte [esp + 0x19], 0
mov byte [esp + 0x23], al
je case.0x435a2c.100
cmp byte [esp + 0x18], 0
je case.0x435a2c.100
test al, al
je 0x43691f
mov eax, dword [esp + 0x1c]
push 2
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
je 0x436911
cmp ax, 0x3e
je 0x436911
cmp ax, 0x7d
je 0x436911
push edx
call esi
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jne 0x4368f4
push edx
call esi
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4373ba
mov ecx, dword [esp + 0x1c]
push 1
push ecx
jmp 0x4368dc
mov esi, dword [esp + 0x70]
add edx, 2
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x14], edx
jle 0x43694b
mov eax, dword [esp + 0x5c]
dec eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f40
mov esi, eax
cmp byte [esi + 0x8d], 0
jne case.0x435a2c.100
movzx ecx, byte [esi + 0x8e]
movzx edx, byte [esi + 0x8c]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x88]
push 1
push edx
push ecx
push eax
push edi
call fcn.00409b10
test eax, eax
jne 0x4369a8
movzx ecx, byte [esi + 0x8c]
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x8e]
push eax
mov eax, dword [esi + 0x88]
push 1
push ecx
push eax
push 0x7530
mov ecx, edi
call fcn.00409350
push eax
push edi
call fcn.00409ee0
mov edi, eax
push edi
lea esi, [esp + 0x5c]
call fcn.00401dd0
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push ecx
lea esi, [edi + 0x90]
push edx
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x68]
dec eax
push eax
lea ecx, [esp + 0x68]
call fcn.00401f40
add eax, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
add eax, ecx
cmp dword [esp + 0x24], eax
jg case.0x435a2c.100
mov dword [esp + 0x24], eax
jmp case.0x435a2c.100
add edx, 2
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jbe 0x436a2b
nop
cmp ax, 0x20
ja 0x436a2b
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x436a10
push 0xa
lea eax, [esp + 0x18]
push eax
push edx
call fcn.00488d69
add esi, eax
add esp, 0xc
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jg 0x4368e2
mov dword [esp + 0x3c], esi
jmp 0x4368e2
add edx, 2
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
jbe 0x436a7e
cmp ax, 0x20
ja 0x436a7e
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
mov dword [esp + 0x14], edx
movzx eax, word [edx]
test ax, ax
ja 0x436a63
push 0xa
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00488d69
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4368e2
cmp ax, 0x3c
je 0x436aa7
cmp ax, 0x7b
jne 0x436d7f
cmp word [edi + 2], 0x2f
jne 0x436d7f
add edi, 4
mov dword [esp + 0x14], edi
movzx eax, word [edi]
add eax, 0xffffff9f
cmp eax, 0x14
ja case.0x436acf.100
movzx edx, byte [eax + 0x4377a4]
jmp dword [edx*4 + 0x43778c]
mov edx, dword [esp + 0x90]
add edi, 2
lea ecx, [edx - 1]
mov dword [esp + 0x14], edi
test ecx, ecx
jl 0x436afe
lea edx, [esp + 0x8c]
call fcn.00401ef0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x660]
test edx, edx
jle 0x436b17
dec edx
push edx
lea ecx, [esp + 0x90]
call fcn.00401f40
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 0x436d42
mov edx, dword [esp + 0x2c]
add edi, 2
cmp esi, dword [edx]
mov dword [esp + 0x14], edi
jle 0x436b57
mov byte [esp + 0x1a], 1
mov ecx, dword [esp + 0x68]
add ecx, 0xffffffff
js 0x436b6d
lea edx, [esp + 0x64]
call fcn.00401ef0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
dec eax
push eax
lea ecx, [esp + 0x68]
call fcn.00401f40
mov ecx, eax
mov eax, dword [esp + 0x30]
add ecx, dword [eax + 0x10]
mov edx, dword [eax]
lea eax, [ecx + edx]
cmp dword [esp + 0x24], eax
jg case.0x436acf.100
mov dword [esp + 0x24], eax
jmp case.0x436acf.100
add edi, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x14], edi
sete al
cmp byte [esp + 0x19], 0
mov byte [esp + 0x23], al
je case.0x436acf.100
cmp byte [esp + 0x18], 0
je case.0x436acf.100
test al, al
je 0x436bdc
mov eax, dword [esp + 0x1c]
push 2
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x436d42
mov ecx, dword [esp + 0x1c]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x436d42
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x436c32
cmp byte [esp + 0x18], 0
jne 0x436c2d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
add ecx, ebx
push ecx
push esi
mov ecx, ebp
push edx
shl ecx, 4
add ecx, dword [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
inc ebp
mov dword [esp + 0x78], ebp
mov edx, dword [esp + 0x90]
lea ecx, [edx - 1]
test ecx, ecx
jl 0x436c53
lea edx, [esp + 0x8c]
call fcn.00401ef0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x660]
test edx, edx
jle 0x436c6c
dec edx
push edx
lea ecx, [esp + 0x90]
call fcn.00401f40
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 edi, dword [esp + 0x14]
mov byte [esp + 0x2b], 0
mov ecx, dword [esp + 0x5c]
add edi, 2
add ecx, 0xffffffff
mov dword [esp + 0x14], edi
js 0x436cb5
lea edx, [esp + 0x58]
call fcn.00401ef0
mov edx, dword [esp + 0x5c]
dec edx
push edx
lea ecx, [esp + 0x5c]
call fcn.00401f40
mov edi, eax
test edi, edi
jne 0x436cce
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x34], 0
je 0x436d0a
cmp byte [edi + 0x8e], 0
jne 0x436d0a
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
push ecx
push 0x20
push 0x20
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov eax, dword [esp + 0xbc]
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov dword [esp + 0x40], esi
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
lea esi, [edi + 0x90]
push ecx
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x68]
dec edx
push edx
lea ecx, [esp + 0x68]
call fcn.00401f40
add eax, dword [esi + 0x10]
mov ecx, dword [esi]
add eax, ecx
cmp dword [esp + 0x24], eax
jg 0x436d42
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
je 0x436d71
cmp ax, 0x3e
je 0x436d71
cmp ax, 0x7d
je 0x436d71
push edi
call esi
mov edi, eax
mov dword [esp + 0x14], edi
movzx eax, word [edi]
test ax, ax
jne 0x436d54
push edi
call esi
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4373ba
cmp ax, 0x3c
jne 0x436e01
cmp word [edi + 4], 0x3e
jne 0x436e01
movzx ebp, word [edi + 2]
lea ecx, [edi + 2]
cmp bp, 0x7b
je 0x436d9f
cmp bp, 0x7d
jne 0x436e01
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x11c]
push edx
push 1
xor eax, eax
push ecx
push edi
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x436df5
cmp byte [esp + 0x18], 0
je 0x436df5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
push 1
add eax, 2
push eax
mov eax, dword [esp + 0x38]
sub ecx, dword [eax + 0x10]
sub ecx, dword [eax]
add ecx, ebx
push ecx
push esi
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
add esi, dword [esp + 0x11c]
jmp 0x436e86
cmp ax, 0x7b
jne 0x436ea4
cmp word [edi + 4], 0x7d
jne 0x436ea4
movzx ebp, word [edi + 2]
lea ecx, [edi + 2]
cmp bp, 0x3c
je 0x436e29
cmp bp, 0x3e
jne 0x436ea4
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x114]
push edx
push 1
xor eax, eax
push ecx
push edi
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x436e7f
cmp byte [esp + 0x18], 0
je 0x436e7f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
push 1
add eax, 2
push eax
mov eax, dword [esp + 0x38]
sub ecx, dword [eax + 0x10]
sub ecx, dword [eax]
add ecx, ebx
push ecx
push esi
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
add esi, dword [esp + 0x114]
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jg 0x436e94
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x14]
add edi, 6
mov dword [esp + 0x14], edi
jmp 0x4373ba
cmp ax, 0x20
jne 0x436f26
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x124]
push edx
push 1
xor eax, eax
push 0x4b5920
push edi
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x436f01
cmp byte [esp + 0x18], 0
je 0x436f01
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [eax + 0x10]
push 1
sub ecx, dword [eax]
push 0x4b5920
add ecx, ebx
push ecx
push esi
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
add esi, dword [esp + 0x124]
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jg 0x436f16
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x14]
add edi, 2
mov dword [esp + 0x14], edi
jmp 0x4373ba
xor ecx, ecx
mov dword [esp + 0x88], ebx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], ecx
mov esi, edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
cmp byte [esp + 0x1b], bl
jne 0x436f5e
cmp word [edi], 0x3c
je 0x436f64
cmp word [edi], 0x7b
jne 0x436f6e
mov ebp, 1
lea esi, [edi + 2]
mov ebx, ebp
movzx eax, word [esi]
cmp ax, cx
je 0x437107
lea ebx, [ebx]
cmp ax, 0xa
je 0x437107
cmp byte [esp + 0x1b], 0
je 0x436fc5
cmp ax, 0x3c
je 0x436f9d
cmp ax, 0x7b
jne 0x436fd9
cmp word [esi + 2], 0x2f
jne 0x436fd9
cmp word [esi + 4], 0x72
jne 0x436fd9
movzx eax, word [esi + 6]
cmp ax, 0x3e
je 0x436fbb
cmp ax, 0x7d
jne 0x436fd9
mov byte [esp + 0x1b], 0
jmp 0x437107
cmp ax, 0x3c
je 0x437107
cmp ax, 0x7b
je 0x437107
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x40]
mov edi, eax
mov eax, dword [esp + 0x30]
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 + 0x2c]
cmp edx, dword [ecx + 8]
mov dword [esp + 0xa8], eax
jl 0x43702c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa8]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
add edx, eax
cmp edx, dword [ecx + 8]
jg 0x43708a
movzx eax, word [esi]
cmp ax, 0x61
jb 0x43704a
cmp ax, 0x7a
jbe 0x43705e
cmp ax, 0x41
jb 0x437056
cmp ax, 0x5a
jbe 0x43705e
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], ebx
cmp ax, 0x20
jne 0x43706c
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], ebx
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, dword [esp + 0x14]
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x436f80
jmp 0x437107
mov edx, dword [esp + 0x40]
add eax, edx
cmp eax, dword [ecx + 8]
jle 0x4370a0
cmp edx, dword [ecx]
je 0x4370a0
sub edi, esi
sar edi, 1
dec ebp
sub ebx, edi
mov ecx, dword [esp + 0x674]
test cl, 0x10
je 0x4370ba
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4370ba
mov ebx, dword [esp + 0x50]
mov ebp, eax
test ecx, 0x8000
je 0x4370f4
test ebp, ebp
jle 0x4370f4
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 0x4370e1
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
mov edx, dword [esp + 0x2c]
sub esi, eax
mov eax, dword [edx + 8]
sar esi, 1
sub ebx, esi
mov dword [esp + 0x40], eax
mov edx, eax
cmp dword [esp + 0x3c], edx
mov edi, dword [esp + 0x14]
mov byte [esp + 0x1a], 1
jg 0x437107
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xa8]
push ecx
push ebx
push edi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [esp + 0x19], 0
je 0x4371f8
cmp byte [esp + 0x18], 0
je 0x4371f8
mov ecx, dword [esp + 0x674]
mov eax, ecx
and eax, 0x20
jne 0x437167
cmp dword [esp + 0x12c], eax
je 0x437167
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 8]
sub eax, dword [esi]
sub eax, dword [esp + 0xa8]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x84], eax
jmp 0x43718d
test eax, eax
jne 0x437189
test cl, 2
je 0x437189
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 8]
sub eax, dword [esi]
sub eax, dword [esp + 0xa8]
add dword [esp + 0x84], eax
jmp 0x43718d
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.GDI32.dll_TextOutW]
mov edx, edi
sub edx, dword [eax + 0x10]
push ebx
sub edx, dword [eax]
mov eax, dword [esp + 0x88]
add edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call ebp
mov edx, dword [esp + 0x40]
cmp edx, dword [esi + 8]
jl 0x4371f8
test dword [esp + 0x674], 0x8000
je 0x4371f8
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
push 3
push 0x4b5974
push edi
add ecx, eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0xa8]
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
jg 0x437211
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
lea edi, [eax + ebx*2]
mov dword [esp + 0x14], edi
jmp 0x4373ba
cmp ax, 0xa
jne 0x43722e
add edi, 2
mov dword [esp + 0x14], edi
test cl, cl
je 0x437237
mov byte [esp + 0x1a], 0
cmp byte [esp + 0x18], 0
jne 0x4372f7
cmp byte [esp + 0x2b], 0
je 0x4372af
mov ecx, dword [esp + 0x74]
cmp ebp, dword [ecx]
jge 0x4372af
cmp esi, edx
jl 0x437257
mov esi, edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xa4]
add edx, ebx
push edx
mov edx, dword [esp + 0xa4]
push esi
mov eax, ebp
shl eax, 4
add eax, dword [esp + 0xa4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0xb0]
inc ebp
mov eax, ebp
imul eax, eax, 0x84
mov edx, dword [eax + ecx - 0x84]
lea esi, [eax + ecx]
push 0xffffffffffffffff
push edx
mov dword [esp + 0x80], ebp
call fcn.00402160
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x54], ebp
jge 0x4372de
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ebx]
mov eax, dword [esp + 0x9c]
shl ecx, 4
lea ecx, [ecx + eax + 0xc]
mov eax, ebp
sub eax, dword [esp + 0x54]
mov dword [ecx], edx
add ecx, 0x10
sub eax, 1
jne 0x4372d4
cmp byte [esp + 0x19], 0
je 0x437314
mov cl, byte [esp + 0x4e]
mov ebp, dword [esp + 0x54]
mov byte [esp + 0x2b], cl
mov dword [esp + 0x78], ebp
jmp 0x437314
mov al, byte [esp + 0x2b]
test al, al
je 0x43730c
mov edx, dword [esp + 0x74]
cmp ebp, dword [edx]
jge 0x43730c
inc ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0x4e], al
mov dword [esp + 0x54], ebp
test byte [esp + 0x674], 0x20
je 0x437338
cmp byte [esp + 0x19], 0
je 0x43754f
cmp byte [esp + 0x18], 0
jne 0x43754f
mov ebx, dword [esp + 0x44]
mov cl, byte [esp + 0x19]
test cl, cl
je 0x43734c
cmp byte [esp + 0x18], 0
sete al
mov byte [esp + 0x18], al
cmp byte [esp + 0x18], 0
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov dword [esp + 0x40], esi
jne 0x437365
add ebx, dword [esp + 0x24]
mov dword [esp + 0x44], ebx
cmp ebx, dword [eax + 0xc]
jle 0x437376
test cl, cl
jne 0x43754f
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
lea eax, [ecx - 1]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebx
test eax, eax
jl 0x43739c
cmp eax, ecx
jge 0x43739c
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + eax*4]
jmp 0x43739e
xor edx, edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x2c]
cmp esi, dword [edx + 8]
mov dword [esp + 0x24], eax
jge 0x43754b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx + 8]
jge 0x4373d5
movzx eax, word [edi]
cmp ax, 0xa
je 0x4373d5
test ax, ax
jne 0x4373da
mov byte [esp + 0x1a], 1
cmp byte [esp + 0x19], 0
je 0x43753f
cmp byte [esp + 0x1a], 0
je 0x43753f
cmp byte [esp + 0x18], 0
jne 0x43768c
mov edi, dword [esp + 0x100]
push edi
lea esi, [esp + 0x5c]
call fcn.00401d80
mov eax, dword [esp + 0xfc]
mov ebx, dword [esp + 0x58]
lea edx, [edi*4]
push edx
push eax
push ebx
call fcn.004877d0
mov edi, dword [esp + 0x100]
add esp, 0xc
push edi
lea esi, [esp + 0x90]
call fcn.00401d80
mov edx, dword [esp + 0xf0]
mov ebp, dword [esp + 0x8c]
lea ecx, [edi*4]
push ecx
push edx
push ebp
call fcn.004877d0
mov edi, dword [esp + 0x118]
add esp, 0xc
push edi
lea esi, [esp + 0x68]
call fcn.00401d80
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x64]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.004877d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf0]
mov dl, byte [esp + 0x5b]
mov dword [esp + 0x88], eax
mov al, byte [esp + 0x47]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x9c]
add esp, 0xc
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x660]
mov byte [esp + 0x1b], dl
test ecx, ecx
jle 0x4374d6
lea eax, [ecx - 1]
test eax, eax
jl 0x4374d4
cmp eax, ecx
jge 0x4374d4
mov eax, dword [ebp + eax*4]
jmp 0x4374d6
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 + 0x5c]
lea eax, [ecx - 1]
test eax, eax
jl 0x437513
cmp eax, ecx
jge 0x437513
mov eax, dword [ebx + eax*4]
test eax, eax
jne 0x437517
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
push edx
lea ecx, [eax + 0x90]
push esi
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esp + 0x3b], 0
je 0x43753b
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
test ax, ax
jne 0x435990
mov ebp, dword [esp + 0x78]
test dword [esp + 0x674], 0x400
mov edx, dword [esp + 0x74]
mov dword [edx], ebp
je 0x437590
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jle 0x437579
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
cmp eax, edx
jl 0x43758d
mov eax, edx
mov dword [ecx + 8], eax
cmp byte [esp + 0x19], 0
je 0x4375aa
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esp + 0xec]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [esp + 0xd0]
push edx
call esi
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x108]
test eax, eax
je 0x4375eb
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x4375ff
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x437613
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x4a4]
lea edx, [esp + 0x4a8]
cmp eax, edx
je 0x43762e
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x43763f
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x437653
push eax
call fcn.0048836e
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x437664
push eax
call fcn.0048836e
add esp, 4
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.00486dc0
add esp, 0x638
ret
mov edi, dword [esp + 0x5c]
push edi
lea esi, [esp + 0x100]
call fcn.00401d80
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xfc]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.004877d0
mov edi, dword [esp + 0x9c]
add esp, 0xc
push edi
lea esi, [esp + 0xf4]
call fcn.00401d80
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xf0]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.004877d0
mov edi, dword [esp + 0x74]
add esp, 0xc
push edi
lea esi, [esp + 0x10c]
call fcn.00401d80
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x108]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.004877d0
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x2f]
mov cl, byte [esp + 0x27]
add esp, 0xc
mov dword [esp + 0xe4], edi
mov byte [esp + 0x3b], al
mov byte [esp + 0x4f], cl
jmp 0x43753f