Function at 0x14007fd30
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r15, rcx
mov qword [rbp + 0x20], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x38], 0x6f525c3e
mov dword [rsp + 0x3c], 0x786f6c62
mov dword [rsp + 0x40], 0x676f6c5c
mov word [rsp + 0x44], reloc.WS2_32.dll_WSAStartup
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
lea rax, [rsp + 0x39]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14007fdd0
lea rdx, [rsp + 0x39]
lea rcx, [rbp + 0x40]
call fcn.14000d680
nop
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r8, qword [rbp + 0x40]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, dword [rbp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8, rbx
lea rcx, [rbp - 0x80]
call fcn.1400808c0
mov dword [rsp + 0x30], 0x4001
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r8, qword [rbp + 0x40]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_32
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
movups xmmword [rbp - 0x60], xmm0
test eax, eax
js 0x14007fec4
lea rax, [rbp + 0x90]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14007feb0
lea rdx, [rbp + 0x90]
jmp 0x14007fece
xor r8d, r8d
lea rdx, [0x140184210]
lea rcx, [rbp - 0x60]
call fcn.14000d1c0
mov dword [rsp + 0x30], 0x4401
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.1400256e0
mov dword [rsp + 0x30], 0x4c01
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14007ff3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ff36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ff36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14007ff7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ff7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ff7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14007ffcd
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ffc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ffc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8, qword [rbp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.14000d1c0
mov ebx, 0x7c01
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140067d40
test eax, eax
jne 0x140080573
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14008007d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080078
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov r14, qword [rbp + 0x38]
test r14, r14
je 0x14008009a
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x60], xmm0
test r14, r14
je 0x1400800b5
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
test r14, r14
je 0x140080100
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400800f8
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400800f8
mov r14, qword [rbp + 0x38]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400800fc
mov r14, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
cmp qword [rbp + 0x30], 0
je 0x14008045a
mov r13, qword [rbp + 0x60]
lea rdi, str..log
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.14007fbc0
mov rax, qword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x14008013f
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140080562
cmp eax, 2
jne 0x1400802ab
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 4
call fcn.14014289c
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140003250
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp]
lea rcx, [r13 + 0x20]
call fcn.140062790
mov rcx, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
call fcn.14007f9c0
test eax, eax
jne 0x1400802ab
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x1400801d9
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.140062310
cmp rax, rsi
je 0x14008022b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140080200
cmp cx, 0x2f
jne 0x140080209
add rax, 2
cmp rax, rsi
jne 0x1400801f1
cmp rax, rsi
je 0x14008022b
nop
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008022b
cmp cx, 0x2f
je 0x14008022b
mov rdi, rdx
cmp rax, rdx
jne 0x140080210
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000d1c0
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400626a0
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140080285
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.14000d2f0
cmp rax, 0xffffffffffffffff
je 0x1400802ab
mov dil, 1
jmp 0x1400802ae
xor dil, dil
test bl, 0x10
je 0x140080309
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400802f5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400802f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008050e
call fcn.1401433c4
xor esi, esi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], sil
jmp 0x14008030b
xor esi, esi
test bl, 8
je 0x14008036c
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140080359
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080354
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080515
call fcn.1401433c4
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
test bl, 4
je 0x1400803c8
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1400803b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400803b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008051c
call fcn.1401433c4
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
test bl, 2
je 0x140080414
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140080414
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008040f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080523
call fcn.1401433c4
test dil, dil
je 0x140080444
lea r8, [r13 + 0x20]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x140080439
mov rdx, r8
mov rcx, rax
call fcn.140009b30
add qword [r15 + 8], 0x20
jmp 0x140080444
mov rdx, rax
mov rcx, r15
call fcn.140080cf0
lea rcx, [rbp + 0x60]
call fcn.140062f30
mov r13, qword [rbp + 0x60]
test r13, r13
jne 0x14008010f
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140080497
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140080493
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140080493
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp + 0x38]
test r14, r14
je 0x1400804cd
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400804cd
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x1400804cd
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x14008052f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008052a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008052a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1401433c4
mov rax, r15
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140143120
lea r11, [rsp + 0x3b0]
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
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140003b30
nop
lea r8, [rsp + 0x48]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140003b30
int3