Function at 0x140186140
Capabilities:
Delete file
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov dword [reloc.WS2_32.dll_bind], 2
lea rcx, [0x1404e6268]
cmp qword [0x1404e6280], 0xf
cmova rcx, qword [0x1404e6268]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [0x1404e5f74], 1
call fcn.140186720
mov rbx, rax
cmp byte [rax + 0x3d], 0
je 0x1401861c4
mov edx, 0x3d
movabs r8, 0x9f639b35d7658f4b
mov rcx, rax
call fcn.140173250
mov byte [rbx + 0x3d], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rbx + r8], r12b
jne 0x1401861e0
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14016c670
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [0x1404e6268]
lea rcx, [rbp - 0x50]
call fcn.140197190
nop
mov ecx, 3
call fcn.14032bde0
mov r15d, r12d
mov r13d, 0x1310
mov r14d, r13d
call fcn.14032bb60
mov rsi, rax
test rax, rax
je 0x140186446
mov ebx, 0x410
movdqa xmm6, xmmword [0x1404444f0]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
jbe 0x140186253
mov r8, qword [rbp - 0x70]
mov r14, r13
mov edx, 0x2712
mov rcx, rsi
call fcn.14032e5b0
lea r8, [0x140185ed0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14032e5b0
lea r8, [rbp - 0x50]
mov edx, 0x2711
mov rcx, rsi
call fcn.14032e5b0
lea r8, [0x140185f00]
mov edx, 0x4efb
mov rcx, rsi
call fcn.14032e5b0
xor r8d, r8d
mov edx, Ordinal_45
mov rcx, rsi
call fcn.14032e5b0
mov rcx, rsi
call fcn.14032bc20
test eax, eax
je 0x1401864d3
mov dword [rsp + 0x40], 0xd0010885
mov dword [rsp + 0x44], 0x1900b67b
mov dword [rsp + 0x48], 0x991d0487
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, ebx
mov eax, dword [rdx + rcx]
lea rbx, [rcx + r14]
test al, 1
jne 0x14018634d
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x1d], 1
lea rax, [rbx + 0x1c]
lea rcx, [rsp + 0x4c]
cmp rbx, rcx
ja 0x140186327
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x140186327
movups xmmword [rbx], xmm6
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0x5b
jmp 0x140186340
movups xmmword [rbx], xmm6
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0x5b
lea rcx, [0x140383de0]
call fcn.14037af38
nop
cmp byte [rbx + 0x1d], 0
je 0x14018636e
mov edx, Ordinal_32
movabs r8, 0x6b65c55bb76f61f1
mov rcx, rbx
call fcn.140173250
mov byte [rbx + 0x1d], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x140186381
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14016c670
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1401863d9
inc rdx
mov rcx, qword [0x1404e2cc8]
cmp rdx, 0x1000
jb 0x1401863d4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140186710
mov rcx, r8
call fcn.14037ad7c
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1404e2cc8], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1404e2cd8], xmm1
lea rcx, [rbp - 0x48]
call fcn.14019b160
test rax, rax
jne 0x14018641b
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call fcn.14032bb10
inc r15d
cmp r15d, 5
jge 0x14018666c
call fcn.14032bb60
mov rsi, rax
test rax, rax
mov ebx, 0x410
jne 0x140186241
movdqa xmm0, xmmword [0x140444ed0]
mov dword [rsp + 0x60], 0xd843103f
mov dword [rsp + 0x64], 0xb95ca04b
mov dword [rsp + 0x68], 0x9e5f1c3d
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x8e8
mov eax, dword [rcx + rsi]
mov ebx, 0xff0
test al, 1
jne 0x140186597
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rbx + rsi]
mov byte [rcx + 0x1d], 1
lea rax, [rcx + 0x1c]
lea rdx, [rsp + 0x6c]
cmp rcx, rdx
ja 0x140186571
lea rdx, [rsp + 0x50]
cmp rax, rdx
jb 0x140186571
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x6b
jmp 0x14018658a
lea rcx, [rbp - 0x48]
call fcn.14019b160
test rax, rax
jne 0x1401864fe
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rbp + 0x100]
mov edx, 0x200002
mov rcx, rsi
call fcn.14032bb30
cmp dword [rbp + 0x100], 0xc8
je 0x14018666c
call fcn.140186810
mov rcx, rax
call fcn.140197120
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14016be60
mov rdx, rax
lea rcx, [0x1404e2cc8]
call fcn.14016bdd0
lea rcx, [rsp + 0x70]
call fcn.14016bdc0
mov rcx, rsi
call fcn.14032bb10
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x6b
lea rcx, [0x140383db0]
call fcn.14037af38
nop
add rbx, rsi
cmp byte [rbx + 0x1d], 0
je 0x1401865bb
mov edx, Ordinal_32
movabs r8, 0xcb39d36bbf2d794b
mov rcx, rbx
call fcn.140173250
mov byte [rbx + 0x1d], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1401865d0
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14016c670
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x14018662a
mov rcx, qword [0x1404e2cc8]
inc rdx
cmp rdx, 0x1000
jb 0x140186625
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140186710
mov rcx, r8
call fcn.14037ad7c
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1404e2cc8], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1404e2cd8], xmm1
lea rcx, [rbp - 0x48]
call fcn.14019b160
test rax, rax
jne 0x14018666c
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
call fcn.14032bda0
lea rcx, [rbp - 0x48]
call fcn.14019b160
test rax, rax
jne 0x14018669d
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.1401986c0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.14016bea0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3