Function at 0x140037920
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400b89e8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
xor r8d, r8d
lea rdx, [0x140093731]
call fcn.14003db40
nop
lea rcx, [rdi + 0x20]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
lea r8d, [rbp + 8]
lea rdx, str.xmr_stak
call fcn.14003db40
nop
mov dword [rdi + 0x40], 0x1010101
mov qword [rdi + 0x58], rbp
mov qword [rdi + 0x60], setsockopt
mov byte [rdi + 0x48], bpl
mov qword [rdi + 0x78], rbp
mov qword [rdi + 0x80], socket
mov byte [rdi + 0x68], bpl
lea rcx, [rdi + 0x88]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
lea r8d, [rbp + 3]
lea rdx, [0x140093824]
call fcn.14003db40
nop
mov byte [rdi + 0xa8], bpl
mov qword [rdi + 0xc0], rbp
mov qword [rdi + 0xc8], socket
mov byte [rdi + 0xb0], bpl
mov byte [rdi + 0xd0], bpl
mov qword [rdi + 0xe8], rbp
mov qword [rdi + socket0], 0xf
mov byte [rdi + 0xd8], bpl
mov byte [rdi + 0xf8], bpl
mov qword [rdi + 0x110], rbp
mov qword [rdi + 0x118], socket
mov byte [rdi + 0x100], bpl
mov qword [rdi + 0x130], rbp
mov qword [rdi + 0x138], socket
mov byte [rdi + 0x120], bpl
mov word [rdi + 0x140], 0x100
mov byte [rdi + 0x142], 1
mov dword [rdi + 0x144], 0xffffffff
mov qword [rdi + 0x158], rbp
mov qword [rdi + 0x160], socket
mov byte [rdi + 0x148], bpl
lea rcx, [rdi + 0x168]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
lea r8d, [rbp + 0xa]
lea rdx, str.config.txt
call fcn.14003db40
nop
lea rcx, [rdi + 0x188]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
lea r8d, [rbp + 9]
lea rdx, str.pools.txt
call fcn.14003db40
nop
lea rcx, [rdi + 0x1a8]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], bpl
lea r8d, [rbp + 7]
lea rdx, str.amd.txt
call fcn.14003db40
nop
xor r9d, r9d
lea r8d, [rbp + 0x1c]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
movdqa xmm0, xmmword [0x140098400]
mov byte [rsp + 0x48], bpl
movdqu xmmword [rsp + 0x58], xmm0
test eax, eax
je 0x140037b61
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140037b50
lea rdx, [rsp + 0x70]
jmp 0x140037b6e
mov r8d, 1
lea rdx, [0x140093810]
lea rcx, [rsp + 0x48]
call fcn.14003db40
nop
lea rsi, [rdi + 0x1c8]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140037bd6
lea rax, [rcx + 0xe]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8d, select
lea rdx, str._.openclcache_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xe], 0
lea rax, [rsp + 0x48]
jmp 0x140037bf7
mov qword [rsp + 0x20], setsockopt
lea r9, str._.openclcache_
xor r8d, r8d
lea edx, [r8 + 0xe]
lea rcx, [rsp + 0x48]
call fcn.140035b80
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rbp
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140037c5c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037c57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008c5c0
movdqa xmm0, xmmword [0x140098400]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rdi + 0x1e8]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8d, 0xa
lea rdx, str.nvidia.txt
call fcn.14003db40
nop
lea rcx, [rdi + 0x208]
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8d, 7
lea rdx, str.cpu.txt
call fcn.14003db40
mov qword [rdi + 0x238], rbp
mov qword [rdi + 0x240], socket
mov byte [rdi + 0x228], 0
mov dword [rdi + 0x248], 0xffffffff
mov byte [rdi + 0x24c], 1
mov qword [rdi + 0x260], rbp
mov qword [rdi + 0x268], socket
mov byte [rdi + 0x250], 0
mov qword [rdi + 0x280], rbp
mov qword [rdi + 0x288], socket
mov byte [rdi + 0x270], 0
mov dword [rdi + 0x290], 0xffffffff
mov dword [rdi + 0x294], 0x1e
mov dword [rdi + 0x298], 0x3c
mov qword [rdi + 0x2a0], rbp
mov qword [rdi + 0x2a8], rbp
mov qword [rdi + 0x2b0], rbp
mov qword [rdi + 0x2b8], rbp
mov qword [rdi + 0x2c0], rbp
mov qword [rdi + 0x2c8], rbp
mov qword [rdi + 0x2d0], rbp
mov qword [rdi + 0x2d8], rbp
mov qword [rdi + 0x2e0], rbp
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14008ccd0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret