Function at 0x140089a70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1404f2618]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r15, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x38]
mov edx, 0x1165
lea r8d, [r13 + 8]
call qword [0x140790170]
test eax, eax
je 0x140089af6
mov ecx, eax
call fcn.14009a1d0
mov r8, rax
lea r9, str.clGetProgramInfo
lea rdx, str.e_45_1me_1_37m_opencl__e_0me_0_31m_error_e_0me_1_31m_se_0me_0_31m_when_calling_e_0me_1_31m_se_0m
lea ecx, [r13 + 3]
call fcn.1400264e0
jmp 0x140089e8f
mov rsi, qword [rsp + 0x38]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rdi, r13
mov qword [rsp + 0x50], r13
mov rbx, r13
test rsi, rsi
je 0x140089b8c
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140089f4e
cmp rsi, 0x1000
jb 0x140089b59
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140089f54
call fcn.140346ff0
test rax, rax
je 0x140089f48
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140089b64
mov rcx, rsi
call fcn.140346ff0
mov rbx, rax
mov r14, rbx
mov qword [rsp + 0x40], rbx
lea rdi, [rbx + rsi]
mov qword [rsp + 0x50], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140349d10
mov rsi, rdi
mov qword [rsp + 0x48], rdi
jmp 0x140089b96
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
mov edx, 0x1166
mov r8d, 8
mov rcx, r12
call qword [0x140790170]
test eax, eax
je 0x140089be4
mov ecx, eax
call fcn.14009a1d0
mov r8, rax
lea r9, str.clGetProgramInfo
lea rdx, str.e_45_1me_1_37m_opencl__e_0me_0_31m_error_e_0me_1_31m_se_0me_0_31m_when_calling_e_0me_1_31m_se_0m
mov ecx, 3
call fcn.1400264e0
jmp 0x140089e57
lea rcx, [rbp + 0x90]
call fcn.14009dea0
nop
mov ebx, 6
mov r8d, ebx
lea rdx, str._xmrig
mov rcx, rax
call fcn.140020a50
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140089c7c
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089c77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089f5a
call fcn.14034702c
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
call fcn.140355e6c
mov r8d, 7
lea rdx, str._.cache
lea rcx, [rbp + 0x70]
call fcn.140020a50
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
call fcn.140355e6c
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140089d16
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089d11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089f60
call fcn.14034702c
lea rax, [0x1404b1f10]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x38], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x30], 3
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x98
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 8]
call fcn.140052420
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], r8d
lea rcx, [rsp + 0x68]
call fcn.14008b810
nop
cmp qword [r15 + 0x18], 0x10
jb 0x140089d9d
mov r15, qword [r15]
mov r8d, 0x22
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14008b930
mov r15d, 2
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
je 0x140089de3
mov eax, 4
cmp qword [rbp + rcx - 0x58], 0
cmovne eax, r13d
mov dword [rsp + rcx + 0x70], eax
test dword [rsp + rcx + 0x74], eax
jne 0x140089f10
jmp 0x140089e04
mov eax, ebx
cmp qword [rbp + rcx - 0x58], 0
cmovne eax, r15d
or eax, dword [rsp + rcx + 0x70]
and eax, 0x17
mov dword [rsp + rcx + 0x70], eax
and eax, dword [rsp + rcx + 0x74]
jne 0x140089f66
sub rsi, r14
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14008ad60
lea rcx, [rsp + 0x68]
call fcn.14008b750
test rax, rax
jne 0x140089e4a
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x58], 0
cmovne ebx, r15d
or ebx, dword [rsp + rcx + 0x70]
and ebx, 0x17
mov dword [rsp + rcx + 0x70], ebx
and ebx, dword [rsp + rcx + 0x74]
jne 0x140089eb9
lea rcx, [rsp + 0x60]
call fcn.140089fc0
mov rbx, r14
test rbx, rbx
je 0x140089e8f
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140089e84
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140089f48
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14034702c
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140346fd0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test bl, 4
je 0x140089ec7
lea rbx, str.ios_base::badbit_set
jmp 0x140089edc
test r15b, bl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.14001f540
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14001f8c0
lea rdx, [0x1404ea2b0]
lea rcx, [rbp + 0x90]
call fcn.14034a470
int3
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.14001f540
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rbp + 0x90]
call fcn.14001f8c0
lea rdx, [0x1404ea2b0]
lea rcx, [rbp + 0x90]
call fcn.14034a470
nop
call fcn.14034deac
int3
call fcn.140014130
int3
call fcn.140003da0
nop
call fcn.14034deac
nop
call fcn.14034deac
nop
test al, 4
je 0x140089f73
lea rbx, str.ios_base::badbit_set
jmp 0x140089f88
test r15b, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.14001f540
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14001f8c0
lea rdx, [0x1404ea2b0]
lea rcx, [rbp + 0x90]
call fcn.14034a470
int3