Function at 0x140010df0
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 [0x140075040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14, rcx
mov qword [rbp + 0x20], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x38], 0x6f525c29
mov dword [rsp + 0x3c], 0x786f6c62
mov dword [rsp + 0x40], 0x676f6c5c
mov word [rsp + 0x44], 0x73
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
lea rax, [rsp + 0x39]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140010e90
lea rdx, [rsp + 0x39]
lea rcx, [rbp + 0x40]
call fcn.140002b50
nop
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r8, qword [rbp + 0x40]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
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 [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.140012260
mov dword [rsp + 0x30], 0x20001
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
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, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
movups xmmword [rbp - 0x60], xmm0
test eax, eax
js 0x140010f85
lea rax, [rbp + 0x90]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x140010f71
lea rdx, [rbp + 0x90]
jmp 0x140010f8f
xor r8d, r8d
lea rdx, [0x14005ab44]
lea rcx, [rbp - 0x60]
call fcn.1400028b0
mov dword [rsp + 0x30], 0x22001
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.140002c70
mov dword [rsp + 0x30], 0x26001
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140010ffe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010ff8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010ff8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057274
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140011043
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001103e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001103e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057274
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140011094
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001108f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001108f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057274
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8, qword [rbp + 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400028b0
mov ebx, 0x3e001
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140011bc0
test eax, eax
jne 0x140011667
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14001113d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011138
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057274
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov r15, qword [rbp + 0x38]
test r15, r15
je 0x14001115a
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x60], xmm0
test r15, r15
je 0x140011175
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
test r15, r15
je 0x1400111c0
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400111b8
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 0x1400111b8
mov r15, qword [rbp + 0x38]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
jmp 0x1400111bc
mov r15, qword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
cmp qword [rbp + 0x30], 0
je 0x14001154e
mov r13, qword [rbp + 0x60]
lea rdi, str..log
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1400105a0
mov rax, qword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x1400111ff
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140011656
cmp eax, 2
jne 0x14001139e
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 4
call fcn.140056924
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.14000f370
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp]
lea rcx, [r13 + 0x20]
call fcn.14000fa60
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 - 0x10], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
call fcn.14000f860
test eax, eax
jne 0x14001139e
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x140011299
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.14000f4e0
cmp rax, rsi
je 0x1400112eb
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400112c0
cmp cx, 0x2f
jne 0x1400112c9
add rax, 2
cmp rax, rsi
jne 0x1400112b1
cmp rax, rsi
je 0x1400112eb
nop
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400112eb
cmp cx, 0x2f
je 0x1400112eb
mov rdi, rdx
cmp rax, rdx
jne 0x1400112d0
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.1400028b0
or ebx, 0x1c00
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x58], rax
call fcn.140056924
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140012df0
or ebx, 0x390
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x80]
mov rdi, qword [rbp - 0x68]
cmp rdi, 0xf
cmova rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rdx, qword [rbp - 0x70]
call fcn.14000e240
cmp rax, 0xffffffffffffffff
je 0x1400113a2
mov sil, 1
jmp 0x1400113a5
mov rdi, qword [rbp - 0x68]
xor sil, sil
test bl, 0x10
je 0x1400113fd
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
cmp rdi, 0xf
jbe 0x1400113e9
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400113e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011602
call fcn.140057274
xor edi, edi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], dil
jmp 0x1400113ff
xor edi, edi
test bl, 8
je 0x140011460
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14001144d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011609
call fcn.140057274
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
test bl, 4
je 0x1400114bc
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1400114ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400114a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011610
call fcn.140057274
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
test bl, 2
je 0x140011508
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140011508
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011503
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011617
call fcn.140057274
test sil, sil
je 0x140011538
lea r8, [r13 + 0x20]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14001152d
mov rdx, r8
mov rcx, rax
call fcn.1400118e0
add qword [r14 + 8], 0x20
jmp 0x140011538
mov rdx, rax
mov rcx, r14
call fcn.140012a50
lea rcx, [rbp + 0x60]
call fcn.140010b90
mov r13, qword [rbp + 0x60]
test r13, r13
jne 0x1400111cf
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14001158b
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140011587
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 0x140011587
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov r15, qword [rbp + 0x38]
test r15, r15
je 0x1400115c1
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400115c1
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 0x1400115c1
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140011623
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001161e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001161e
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.140057274
mov rax, r14
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400570f0
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.140010530
nop
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140010530
int3