Function at 0x4014c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4014f2
mov dword [ebp - 4], 0
jmp 0x4016d5
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x401690
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x3c
jne 0x401572
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x401535
jmp 0x401690
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x26
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x6c
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x74
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x3b
jmp 0x401682
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x3e
jne 0x4015d8
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x40159b
jmp 0x401690
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x26
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x67
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x74
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x3b
jmp 0x40167d
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x26
jne 0x40164c
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x401601
jmp 0x401690
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x26
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x61
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x6d
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x70
mov eax, dword [ebp + 0xc]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0xc], ecx
mov byte [eax], 0x3b
jmp 0x401678
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x401666
jmp 0x401690
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov edx, eax
add edx, 1
mov dword [ebp + 0xc], edx
mov byte [eax], cl
jmp 0x40167d
jmp 0x401682
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x401500
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x4016c9
mov dword [esp], 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, eax
lea eax, str.htmlEscape__:_buffer_overflow_n
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040a8e0
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret