Function at 0x1400f7ea0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1403c85c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r13d, r13d
mov byte [rcx], r13b
lea rsi, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
lea r12, [rsi + 0x10]
mov qword [r12], r13
mov qword [rsi + 0x18], r13
xor r8d, r8d
lea rdx, [0x1403876d5]
mov rcx, rsi
call fcn.14005ecd0
nop
lea rcx, [rdi + 0x28]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x1403876d5]
call fcn.14005ecd0
nop
lea rcx, [rdi + 0x48]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x1403876d5]
call fcn.14005ecd0
nop
mov qword [rdi + 0x68], r13
mov qword [rdi + 0x70], r13
mov dword [rdi + 0x78], r13d
mov qword [rdi + 0x80], r13
cmp rsi, rbx
je 0x1400f7fa8
mov rbp, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400f7f73
mov r9, qword [rbx]
mov rax, qword [rsi + 0x18]
cmp rbp, rax
ja 0x1400f7f9d
cmp rax, 0xf
jbe 0x1400f7f85
mov rsi, qword [rsi]
mov qword [r12], rbp
mov r8, rbp
mov rdx, r9
mov rcx, rsi
call fcn.1402de2b0
mov byte [rsi + rbp], 0
jmp 0x1400f7fa8
mov rdx, rbp
mov rcx, rsi
call fcn.14008a850
mov r8, qword [rbx + 0x10]
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400f7fb9
mov rsi, qword [rbx]
test r8, r8
je 0x1400f7fdd
mov edx, Ordinal_60
mov rcx, rsi
call fcn.1402dedd0
test rax, rax
je 0x1400f7fdd
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x1400f8194
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r13
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400f8020
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14005ecd0
nop
mov r8d, 1
lea rdx, [0x1403943c0]
lea rcx, [rsp + 0x70]
call fcn.140085560
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x1400f827b
lea r9, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova r9, qword [rsp + 0x70]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400f8094
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.14008b960
lea rbx, [rdi + 8]
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x1400f8115
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400f80f5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400f80f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f8281
mov rcx, r8
call fcn.14029a2f0
mov eax, reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
mov byte [rsp + 0x48], 0
jmp 0x1400f811a
mov rax, qword [rsp + 0x60]
cmp rax, 0xf
jbe 0x1400f8154
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f814e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f8281
call fcn.14029a2f0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x1400f8194
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f818f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f8275
call fcn.14029a2f0
lea rcx, [rdi + 0x28]
cmp rcx, r15
je 0x1400f81e3
mov rbx, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x1400f81ab
mov r15, qword [r15]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x1400f81d8
mov rsi, rcx
cmp rax, 0xf
jbe 0x1400f81c0
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.1402de2b0
mov byte [rsi + rbx], 0
jmp 0x1400f81e3
mov r9, r15
mov rdx, rbx
call fcn.14008a850
lea rcx, [rdi + 0x48]
cmp rcx, r14
je 0x1400f8232
mov rbx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x1400f81fa
mov r14, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x1400f8227
mov rsi, rcx
cmp rax, 0xf
jbe 0x1400f820f
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1402de2b0
mov byte [rbx + rsi], 0
jmp 0x1400f8232
mov r9, r14
mov rdx, rbx
call fcn.14008a850
lea rax, [0x14038e3b0]
mov qword [rdi + 0x68], rax
mov qword [rdi + 0x70], 0x24e0
mov rcx, rdi
call fcn.1400f8460
nop
mov rax, rdi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14029a090
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1402a9edc
nop
call fcn.14005deb0
int3
call fcn.1402a9edc
int3