Function at 0x140092650
Capabilities:
Contain obfuscated stackstrings
Get common file path

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 - 0x340]
sub rsp, 0x440
mov rax, qword [0x1406a0188]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rsi, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp + 0x90], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], 0x6f525c1b
mov dword [rsp + 0x44], 0x786f6c62
mov dword [rsp + 0x48], 0x676f6c5c
mov word [rsp + 0x4c], reloc.WS2_32.dll_WSAStartup
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x41]
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp byte [rax + r8], 0
jne 0x1400926f1
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x60]
call fcn.140002500
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r8, qword [rbp - 0x60]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, dword [rbp - 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 8]
call fcn.140091430
mov dword [rsp + 0x30], 0x400001
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r8, qword [rbp - 0x60]
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 + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r13
movups xmmword [rsp + 0x58], xmm0
test eax, eax
js 0x140092875
mov qword [rsp + 0x70], r13
lea rax, [rbp + 0x120]
mov rbx, r15
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400927c6
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140093107
cmp rbx, 8
jae 0x14009281a
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x58], r13w
mov rsi, qword [rbp - 0x68]
jmp 0x140092884
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x140092835
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x58]
call fcn.14000dc90
mov rdi, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x120]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r13w
mov rsi, qword [rbp - 0x68]
jmp 0x140092884
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov dword [rsp + 0x30], 0x440001
lea r9, [rbp + 8]
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp + 0x100]
call fcn.1400729a0
mov dword [rsp + 0x30], 0x4c0001
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400928f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400928ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400928ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140092937
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140092932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140092932
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
movdqa xmm0, xmmword [0x140153f10]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r13w
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140092987
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140092982
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140092982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
movdqa xmm0, xmmword [0x140153f20]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, qword [rbp + 0x100]
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
mov r8, qword [rbp + 0x110]
lea rcx, [rbp + 0x38]
call fcn.140072500
mov edi, 0x7c0001
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xe0]
call fcn.14008f5e0
test eax, eax
jne 0x14009310d
lea rcx, [rbp + 0x38]
call fcn.14000da10
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov r12, qword [rbp + 0xe8]
test r12, r12
je 0x140092a2d
lock inc dword [r12 + 8]
mov r12, qword [rbp + 0xe8]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xf0], xmm0
test r12, r12
je 0x140092a52
lock inc dword [r12 + 8]
mov r12, qword [rbp + 0xe8]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
test r12, r12
je 0x140092aab
mov eax, r15d
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x140092aa0
mov rbx, qword [rbp + 0xe8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140092aa0
mov r12, qword [rbp + 0xe8]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + ioctlsocket]
jmp 0x140092aa7
mov r12, qword [rbp + 0xe8]
mov edi, dword [rsp + 0x30]
nop dword [rax + rax]
mov r14, qword [rbp + 0xf0]
test r14, r14
je 0x140092fe5
mov r8d, 3
lea rdx, [rbp + 0x28]
mov rcx, r14
call fcn.140091c40
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp + 0x30]
test edx, edx
je 0x140092aec
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140093120
cmp eax, 2
jne 0x140092edf
lea rax, [rbp - 0x40]
mov qword [rbp - 0x20], rax
call fcn.140148b64
mov esi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
bts edi, 7
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, str..log
mov ecx, eax
call fcn.140148b8c
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x1400930ee
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp - 0x40]
call fcn.140013380
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, 4
lea rdx, str..log
mov ecx, esi
call fcn.140148b8c
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x140093150
btr edi, 7
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
add r14, 0x20
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x140092bb7
mov rcx, qword [r14]
lea r15, [r14 + 0x10]
mov rax, qword [r15]
lea rsi, [rcx + rax*2]
mov rbx, rsi
mov rdx, rsi
call fcn.140091b50
cmp rax, rsi
je 0x140092c0c
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140092be1
cmp cx, 0x2f
jne 0x140092bea
add rax, 2
cmp rax, rsi
jne 0x140092bd2
cmp rax, rsi
je 0x140092c0c
nop
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x140092c0c
cmp cx, 0x2f
je 0x140092c0c
mov rbx, r8
cmp rax, r8
jne 0x140092bf0
mov r8d, 0x3a
mov rdx, rsi
mov rcx, rbx
call fcn.140149630
cmp rbx, rax
je 0x140092c5f
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140092c5f
cmp word [rdx], 0x2e
jne 0x140092c42
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x140092c62
cmp word [rcx], 0x2e
jne 0x140092c62
jmp 0x140092c5f
sub rdx, 2
cmp rbx, rdx
je 0x140092c5f
nop dword [rax + rax]
cmp word [rdx], 0x2e
je 0x140092c62
sub rdx, 2
cmp rbx, rdx
jne 0x140092c50
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], r13
mov r8, rax
lea rcx, [rbp + 0x58]
call fcn.140072500
or edi, 0x700
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0xb0], xmm0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x58]
call fcn.1400922c0
test eax, eax
jne 0x140092edf
cmp qword [r14 + 0x18], 8
jb 0x140092ce1
mov r14, qword [r14]
mov rax, qword [r15]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.140091b50
cmp rax, rsi
je 0x140092d3b
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140092d0f
cmp cx, 0x2f
jne 0x140092d18
add rax, 2
cmp rax, rsi
jne 0x140092d00
cmp rax, rsi
je 0x140092d3b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140092d3b
cmp cx, 0x2f
je 0x140092d3b
mov rbx, rdx
cmp rax, rdx
jne 0x140092d20
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
mov qword [rbp], r13
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140072500
or edi, 0x38000
or edi, 8
lea r14, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r14, qword [rbp - 0x18]
mov rsi, qword [rbp - 8]
call fcn.140148b64
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rcx, r13
mov qword [rbp - 0x78], rcx
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], r13
mov byte [rsp + 0x78], 0
bts edi, 0xe
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x140092e35
cmp rsi, 0x7fffffff
ja 0x140093145
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.140148bd4
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x14009313b
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.1400132e0
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r9, qword [rsp + 0x78]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.140148bd4
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x140093131
mov r13, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
btr edi, 0xe
or edi, 0x3810
mov dword [rsp + 0x30], edi
lea rbx, [rsp + 0x78]
mov rsi, qword [rsp + 0x78]
cmp r13, 0x10
cmovae rbx, rsi
cmp rcx, 6
jb 0x140092ee8
lea r14, [rbx + rcx]
lea r8, [r14 - 5]
sub r8, rbx
mov edx, 0x50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
je 0x140092ee8
nop
xor eax, eax
lea rdx, str.Player
nop dword [rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140092ea8
cmp rax, 6
jne 0x140092e90
xor eax, eax
jmp 0x140092ead
sbb eax, eax
or eax, 1
test eax, eax
je 0x140092ed2
inc r9
lea r8, [r14 - 5]
sub r8, r9
mov edx, 0x50
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
jne 0x140092e80
jmp 0x140092ee8
sub r9, rbx
cmp r9, 0xffffffffffffffff
je 0x140092ee8
mov bl, 1
jmp 0x140092eea
mov r13, qword [rbp - 0x70]
mov rsi, qword [rsp + 0x78]
xor bl, bl
test dil, 0x10
je 0x140092f44
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
cmp r13, 0x10
jb 0x140092f2e
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140092f26
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140092fde
mov rcx, rsi
call fcn.140149858
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r13b
jmp 0x140092f47
xor r13d, r13d
test dil, 8
je 0x140092f5e
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x18]
call fcn.14000da10
nop
test dil, 4
je 0x140092f75
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x58]
call fcn.14000da10
nop
test dil, 2
je 0x140092f8b
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x40]
call fcn.14000da10
mov rsi, qword [rbp - 0x68]
test bl, bl
je 0x140092fc5
mov r8, qword [rbp + 0xf0]
add r8, 0x20
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140092fba
mov rdx, r8
mov rcx, rax
call fcn.14000a8e0
add qword [rsi + 8], 0x20
jmp 0x140092fc5
mov rdx, rax
mov rcx, rsi
call fcn.14008f3f0
lea rcx, [rbp + 0xf0]
call fcn.140091a50
test eax, eax
jne 0x1400930f8
jmp 0x140092ab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0xf8]
mov r15, 0xffffffffffffffff
test rcx, rcx
je 0x140093035
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009302e
mov rbx, qword [rbp + 0xf8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009302e
mov rcx, qword [rbp + 0xf8]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov r12, qword [rbp + 0xe8]
test r12, r12
je 0x140093072
mov eax, r15d
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x140093072
mov rbx, qword [rbp + 0xe8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140093072
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x1400930bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400930b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400930b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
mov rax, rsi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140149980
lea r11, [rsp + 0x440]
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
mov ecx, dword [rsp + 0x3c]
call fcn.14000d910
nop
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.1400920b0
nop
call fcn.14000dac0
nop
lea r8, [rbp + 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14000d860
nop
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14000d860
nop
mov ecx, dword [rsp + 0x3c]
call fcn.14000d910
int3
mov ecx, dword [rsp + 0x3c]
call fcn.14000d910
int3
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14000d8d0
nop
mov ecx, dword [rsp + 0x3c]
call fcn.14000d910
int3