Function at 0x140053670
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 [0x1401b3f6d], 1
lea rcx, [0x1401b4210]
cmp qword [0x1401b4228], 0xf
cmova rcx, qword [0x1401b4210]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [0x1401b3f80], 2
call fcn.140053c50
mov rbx, rax
cmp byte [rax + 0x3d], 0
je 0x1400536f1
mov edx, 0x3d
movabs r8, 0x8bfb6dd1730b4fc1
mov rcx, rax
call fcn.14004b8d0
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
nop dword [rax]
inc r8
cmp byte [rbx + r8], r12b
jne 0x140053710
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140044130
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [0x1401b4210]
lea rcx, [rbp - 0x50]
call fcn.140073250
nop
mov ecx, 3
call fcn.14008a9b0
mov r15d, r12d
mov r13d, 0x1770
mov r14d, r13d
call fcn.14008a730
mov rsi, rax
test rax, rax
je 0x140053976
mov ebx, 0x1314
movdqa xmm6, xmmword [0x140106260]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
jbe 0x140053783
mov r8, qword [rbp - 0x70]
mov r14, r13
mov edx, 0x2712
mov rcx, rsi
call fcn.14008d180
lea r8, [0x140052c10]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14008d180
lea r8, [rbp - 0x50]
mov edx, 0x2711
mov rcx, rsi
call fcn.14008d180
lea r8, [0x140052c40]
mov edx, 0x4efb
mov rcx, rsi
call fcn.14008d180
xor r8d, r8d
mov edx, Ordinal_46
mov rcx, rsi
call fcn.14008d180
mov rcx, rsi
call fcn.14008a7f0
test eax, eax
je 0x140053a03
mov dword [rsp + 0x40], 0xce295463
mov dword [rsp + 0x44], 0x375e8e1d
mov dword [rsp + 0x48], 0x87355861
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 0x14005387d
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 0x140053857
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x140053857
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], 0x3d
jmp 0x140053870
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], 0x3d
lea rcx, [0x1400e40a0]
call fcn.1400d980c
nop
cmp byte [rbx + 0x1d], 0
je 0x14005389e
mov edx, Ordinal_32
movabs r8, 0x453bfd3da9473d17
mov rcx, rbx
call fcn.14004b8d0
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 0x1400538b1
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140044130
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140053909
inc rdx
mov rcx, qword [0x1401b22d0]
cmp rdx, 0x1000
jb 0x140053904
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053c40
mov rcx, r8
call fcn.1400d9650
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b22d0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b22e0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140076e20
test rax, rax
jne 0x14005394b
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.14008a6e0
inc r15d
cmp r15d, 5
jge 0x140053b9c
call fcn.14008a730
mov rsi, rax
test rax, rax
mov ebx, 0x1314
jne 0x140053771
movdqa xmm0, xmmword [0x1401070b0]
mov dword [rsp + 0x60], 0x524b2ef3
mov dword [rsp + 0x64], 0x61164ac9
mov dword [rsp + 0x68], 0x145722f1
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x1464
mov eax, dword [rcx + rsi]
mov ebx, 0x470
test al, 1
jne 0x140053ac7
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 0x140053aa1
lea rdx, [rsp + 0x50]
cmp rax, rdx
jb 0x140053aa1
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], 0xe9
jmp 0x140053aba
lea rcx, [rbp - 0x48]
call fcn.140076e20
test rax, rax
jne 0x140053a2e
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.14008a700
cmp dword [rbp + 0x100], 0xc8
je 0x140053b9c
call fcn.140053d40
mov rcx, rax
call fcn.1400731b0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140043800
mov rdx, rax
lea rcx, [0x1401b22d0]
call fcn.140043770
lea rcx, [rsp + 0x70]
call fcn.140043760
mov rcx, rsi
call fcn.14008a6e0
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], 0xe9
lea rcx, [0x1400e4070]
call fcn.1400d980c
nop
add rbx, rsi
cmp byte [rbx + 0x1d], 0
je 0x140053aeb
mov edx, Ordinal_32
movabs r8, 0x137339e935254787
mov rcx, rbx
call fcn.14004b8d0
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 0x140053b00
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140044130
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x140053b5a
mov rcx, qword [0x1401b22d0]
inc rdx
cmp rdx, 0x1000
jb 0x140053b55
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053c40
mov rcx, r8
call fcn.1400d9650
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b22d0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b22e0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140076e20
test rax, rax
jne 0x140053b9c
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.14008a970
lea rcx, [rbp - 0x48]
call fcn.140076e20
test rax, rax
jne 0x140053bcd
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.140074600
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.140043840
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