Function at 0x14002dcf4
Capabilities:
Get common file path

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 - 0x2f8]
sub rsp, 0x3d0
mov rax, qword [0x1401e6f00]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, rcx
mov qword [rbp - 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or rsi, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
movups xmmword [rbp + 0x10], xmm0
test eax, eax
js 0x14002dd9f
lea rax, [rbp + 0xb0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r13w
jne 0x14002dd8c
lea rdx, [rbp + 0xb0]
jmp 0x14002dda9
xor r8d, r8d
lea rdx, [0x1401c5ce8]
lea rcx, [rbp + 0x10]
call fcn.14000629c
mov dword [rsp + 0x40], 0x801
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x20]
sub rax, rcx
cmp rax, 0xc
jb 0x14002e44b
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova r9, qword [rbp + 0x10]
mov qword [rsp + 0x30], recv
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.14002e6c8
mov dword [rsp + 0x40], 0x1801
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov r8, qword [rbp + 0x80]
lea rcx, [rbp - 0x38]
call fcn.14000629c
mov edi, 0x7801
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400121a0
test eax, eax
jne 0x14002e451
lea rcx, [rbp - 0x38]
call fcn.1400055fc
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14002de7a
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm0
test rbx, rbx
je 0x14002de96
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
test rbx, rbx
je 0x14002dedf
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14002ded6
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14002ded6
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14002dedb
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
cmp qword [rsp + 0x50], r13
je 0x14002e37f
mov rsi, qword [rbp - 0x80]
mov dword [rsp + 0x68], r13d
mov ecx, dword [rsi + 0x1c]
mov eax, ecx
and eax, 3
cmp al, 3
jne 0x14002df3d
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x14002df2f
cmp dword [rsi + 0x14], 0xa000000c
jne 0x14002df1f
mov ecx, 4
mov dword [rsp + 0x68], ecx
jmp 0x14002df9e
cmp dword [rsi + 0x14], 0xa0000003
jne 0x14002df2f
mov ecx, 0xa
jmp 0x14002df19
shr ecx, 4
movzx ecx, cl
and ecx, 1
or ecx, 2
jmp 0x14002df19
shr ecx, 1
test cl, 1
je 0x14002df4a
mov r9d, dword [rsi + 0x10]
jmp 0x14002df4e
or r9d, 0xffffffff
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x14002df5d
mov rcx, qword [rsi + 0x20]
mov r8d, 3
lea rdx, [rbp - 0x10]
call fcn.14017ad30
mov dword [rsp + 0x70], eax
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140002c08
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
test edx, edx
je 0x14002df9a
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14002e43a
mov rsi, qword [rbp - 0x80]
cmp ecx, 2
jne 0x14002e28b
lea rax, str..log
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 4
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x10], xmm0
mov r8b, r13b
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.14000766c
or edi, 0x20
or edi, 2
mov dword [rsp + 0x40], edi
lea rcx, [rsi + 0x20]
mov qword [rbp - 0x10], rcx
lea rdx, [rbp + 0x90]
call fcn.14002dc1c
nop
or edi, 4
mov dword [rsp + 0x40], edi
lea r11, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r11, qword [rbp + 0x50]
mov r12, qword [rbp + 0x60]
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14002e018
mov rsi, qword [rax]
mov rax, qword [rax + 0x10]
lea r14, [rsi + rax*2]
mov rdx, r14
mov rcx, rsi
call fcn.14000c320
mov r13, rax
lea r12, [r11 + r12*2]
mov rdx, r12
mov rcx, r11
call fcn.14000c320
mov r9, rax
mov rdx, rax
sub rdx, r11
sar rdx, 1
mov r8, r13
sub r8, rsi
sar r8, 1
mov rcx, r8
cmp rdx, r8
cmovb rcx, rdx
test rcx, rcx
je 0x14002e07d
sub rsi, r11
movzx eax, word [rsi + r11]
cmp ax, word [r11]
jne 0x14002e288
add r11, 2
sub rcx, 1
jne 0x14002e064
cmp r8, rdx
jb 0x14002e288
ja 0x14002e288
mov rdx, r13
mov si, 0x5c
cmp r13, r14
je 0x14002e0ac
cmp word [rdx], si
je 0x14002e0a3
cmp word [rdx], 0x2f
jne 0x14002e0ac
add rdx, 2
cmp rdx, r14
jne 0x14002e098
mov r8, r9
cmp r9, r12
je 0x14002e0ca
cmp word [r8], si
je 0x14002e0c1
cmp word [r8], 0x2f
jne 0x14002e0ca
add r8, 2
cmp r8, r12
jne 0x14002e0b4
xor ecx, ecx
cmp r9, r8
setne cl
xor eax, eax
cmp r13, rdx
setne al
xor r13d, r13d
cmp eax, ecx
jne 0x14002e28b
jmp 0x14002e13b
test ecx, ecx
jne 0x14002e28b
cmp word [rdx], si
je 0x14002e0fd
cmp word [rdx], 0x2f
mov r9b, r13b
jne 0x14002e100
mov r9b, 1
cmp word [r8], si
je 0x14002e110
cmp word [r8], 0x2f
mov ecx, r13d
jne 0x14002e115
mov ecx, 1
movzx eax, r9b
cmp ecx, eax
jne 0x14002e28b
test r9b, r9b
jne 0x14002e18a
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14002e28b
add rdx, 2
add r8, 2
mov ecx, r13d
cmp r8, r12
sete cl
mov eax, r13d
cmp rdx, r14
sete al
sub ecx, eax
cmp rdx, r14
jne 0x14002e0e7
test ecx, ecx
jne 0x14002e28b
mov rax, qword [rbp - 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14002e16d
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
lea rdx, [rcx + rax*2]
mov r11, rdx
call fcn.14000c320
jmp 0x14002e1bc
cmp word [rdx], si
je 0x14002e18a
cmp word [rdx], 0x2f
jne 0x14002e1a2
add rdx, 2
cmp rdx, r14
jne 0x14002e17f
jmp 0x14002e1a2
cmp word [r8], si
je 0x14002e1a2
cmp word [r8], 0x2f
jne 0x14002e13b
add r8, 2
cmp r8, r12
jne 0x14002e195
jmp 0x14002e13b
cmp word [rax], si
je 0x14002e1b8
cmp word [rax], 0x2f
jne 0x14002e1c1
add rax, 2
cmp rax, rdx
jne 0x14002e1ad
cmp rax, rdx
je 0x14002e1dd
lea rcx, [r11 - 2]
cmp word [rcx], si
je 0x14002e1dd
cmp word [rcx], 0x2f
je 0x14002e1dd
mov r11, rcx
cmp rax, rcx
jne 0x14002e1c6
sub rdx, r11
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov r8, rdx
mov rdx, r11
lea rcx, [rbp - 0x38]
call fcn.14000629c
or edi, 0x700
or edi, 8
mov dword [rsp + 0x40], edi
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rsp + 0x44]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.140012f8c
or edi, 0xd0
mov dword [rsp + 0x40], edi
lea rcx, [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x48]
cmp r14, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rdx, qword [rbp + 0x40]
call fcn.14000a6c0
cmp rax, 0xffffffffffffffff
je 0x14002e293
mov r12b, 1
jmp 0x14002e296
xor r13d, r13d
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x30]
mov r12b, r13b
test dil, 0x10
je 0x14002e2ea
and edi, 0xffffffef
mov dword [rsp + 0x40], edi
cmp r14, 0xf
jbe 0x14002e2da
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002e2d2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e433
mov rcx, rsi
call fcn.140179794
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], r13b
test dil, 8
je 0x14002e301
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x38]
call fcn.1400055fc
nop
test dil, 4
je 0x14002e31b
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
lea rcx, [rbp + 0x90]
call fcn.1400055fc
nop
test dil, 2
je 0x14002e331
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rbp + 0x50]
call fcn.1400055fc
test r12b, r12b
je 0x14002e365
mov r8, qword [rbp - 0x80]
add r8, 0x20
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x14002e35a
mov rdx, r8
mov rcx, rax
call fcn.140004e2c
add qword [r15 + 8], 0x20
jmp 0x14002e365
mov rdx, rax
mov rcx, r15
call fcn.14002e9f0
lea rcx, [rbp - 0x80]
call fcn.14000ca38
mov rsi, qword [rbp - 0x80]
test rsi, rsi
jne 0x14002deee
or rsi, 0xffffffffffffffff
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002e3b9
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x14002e3b4
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14002e3b4
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14002e3ed
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14002e3ed
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14002e3ed
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x70]
call fcn.1400055fc
nop
lea rcx, [rbp + 0x10]
call fcn.1400055fc
mov rax, r15
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1401794f0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140002b50
nop
call fcn.140001ef8
nop
lea r8, [rbp - 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002b50
int3