Function at 0x4015c0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403a15
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004021d0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00401210
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [edx + eax*2]
cmp edi, edx
jne 0x40165d
mov ecx, 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x30], ecx
jmp 0x40173d
sub edx, edi
mov dword [ebp - 0x30], 0xf
sar edx, 1
mov dword [ebp - 0x2c], edx
cmp edx, 0x7fffffff
ja 0x4017f2
mov esi, 0xf
cmp edx, esi
jbe 0x401706
mov esi, edx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4016c5
mov ecx, SysReAllocString
mov esi, SysReAllocString
add ecx, 0x23
push ecx
call fcn.00402b18
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40177b
mov edx, dword [ebp - 0x2c]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], esi
jmp 0x401709
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x4016de
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], esi
jmp 0x401709
cmp eax, 0x1000
jb 0x4016f2
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4017f7
jmp 0x40169e
push eax
call fcn.00402b18
mov edx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], esi
jmp 0x401709
mov eax, dword [ebp - 0x44]
cmp esi, 0xf
lea ecx, [ebp - 0x44]
mov esi, edx
cmova ecx, eax
mov dword [ebp - 0x2c], ecx
test edx, edx
je 0x401730
nop dword [eax + eax]
mov al, byte [edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edi, [edi + 2]
sub esi, 1
jne 0x401720
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
push str.ads__s__n
call fcn.00401010
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp ecx, 0xf
jbe 0x40178b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401781
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401781
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402b48
add esp, 8
push str.PAUSE
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 7
jbe 0x4017d5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4017cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4017cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402b48
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402b05
mov esp, ebp
pop ebp
ret
call fcn.004011a0
call fcn.00401100
int3