Function at 0x140058e40
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 byte [0x1401b537c], 2
lea rcx, [0x1401b5658]
cmp qword [0x1401b5670], 0xf
cmova rcx, qword [0x1401b5658]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [0x1401b5388], 3
call fcn.1400593d0
mov r11, rax
mov rcx, rax
call fcn.14006fc70
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 [r11 + r8], r12b
jne 0x140058ec4
mov rdx, r11
lea rcx, [rbp - 0x70]
call fcn.1400413a0
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [0x1401b5658]
lea rcx, [rbp - 0x50]
call fcn.14006b050
nop
mov ecx, 3
call fcn.1400867a0
mov r15d, r12d
mov r13d, 0x530
mov r14d, r13d
call fcn.140086520
mov rsi, rax
test rax, rax
je 0x140059115
mov ebx, 0xdcc
movdqa xmm6, xmmword [0x140112430]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
jbe 0x140058f37
mov r8, qword [rbp - 0x70]
mov r14, r13
mov edx, 0x2712
mov rcx, rsi
call fcn.14009a600
lea r8, [0x140057d60]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14009a600
lea r8, [rbp - 0x50]
mov edx, 0x2711
mov rcx, rsi
call fcn.14009a600
lea r8, [0x140057d90]
mov edx, 0x4efb
mov rcx, rsi
call fcn.14009a600
xor r8d, r8d
mov edx, Ordinal_45
mov rcx, rsi
call fcn.14009a600
mov rcx, rsi
call fcn.1400865e0
test eax, eax
je 0x1400591a2
mov dword [rsp + 0x40], 0x82bf823d
mov dword [rsp + 0x44], 0xdb72e6ad
mov dword [rsp + 0x48], 0xcba38e3f
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, ebx
mov eax, dword [rdx + rcx]
lea rbx, [r14 + rcx]
test al, 1
jne 0x140059031
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 0x14005900b
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x14005900b
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], Ordinal_143
jmp 0x140059024
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], Ordinal_143
lea rcx, [0x1400f12b0]
call fcn.1400e854c
nop
mov rcx, rbx
call fcn.14006f970
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140059050
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400413a0
mov rdx, qword [0x1401b58b8]
cmp rdx, 0xf
jbe 0x1400590a8
inc rdx
mov rcx, qword [0x1401b58a0]
cmp rdx, 0x1000
jb 0x1400590a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400593c3
mov rcx, r8
call fcn.1400e8390
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b58a0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b58b0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x1400590ea
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.1400864d0
inc r15d
cmp r15d, 5
jge 0x14005931f
call fcn.140086520
mov rsi, rax
test rax, rax
mov ebx, 0xdcc
jne 0x140058f25
movdqa xmm0, xmmword [0x140111e20]
mov dword [rsp + 0x60], 0x50bb2471
mov dword [rsp + 0x64], 0x454a72dd
mov dword [rsp + 0x68], 0x16a72873
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x728
mov eax, dword [rcx + rsi]
mov ebx, 0x3d8
test al, 1
jne 0x140059266
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 0x140059240
lea rdx, [rsp + 0x50]
cmp rax, rdx
jb 0x140059240
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], 0xfd
jmp 0x140059259
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x1400591cd
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.1400864f0
cmp dword [rbp + 0x100], 0xc8
je 0x14005931f
call fcn.1400594c0
mov rcx, rax
call fcn.14006a760
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400411f0
mov rdx, rax
lea rcx, [0x1401b58a0]
call fcn.14006c740
lea rcx, [rsp + 0x70]
call fcn.1400411e0
mov rcx, rsi
call fcn.1400864d0
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], 0xfd
lea rcx, [0x1400f1280]
call fcn.1400e854c
nop
lea r11, [rsi + rbx]
mov rcx, r11
call fcn.14006f7f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
inc rdi
cmp byte [r11 + rdi], 0
jne 0x140059282
mov r8, rdi
mov rdx, r11
lea rcx, [rsp + 0x70]
call fcn.1400413a0
mov rdx, qword [0x1401b58b8]
cmp rdx, 0xf
jbe 0x1400592dd
mov rcx, qword [0x1401b58a0]
inc rdx
cmp rdx, 0x1000
jb 0x1400592d8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400593c3
mov rcx, r8
call fcn.1400e8390
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b58a0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b58b0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x14005931f
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.140086760
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x140059350
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.14006bcd0
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.140041230
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