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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x88
call fcn.1800970a0
mov rdi, qword [0x1801b7c80]
lea rcx, [rbp]
mov eax, 0xffff
mov byte [rsp + 0x7c], 1
mov word [rbp - 0x3c], ax
mov edx, 0x104
mov rax, qword [rbx + 0x68]
and qword [rdi + 0x20], 0
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x78], 1
mov byte [rbp - 0x70], 1
mov dword [rbp - 0x7c], 0x41800000
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rbp]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18005dceb
mov byte [rsp + 0x54], 0x5d
xor ecx, ecx
mov byte [rsp + 0x55], 0x47
mov byte [rsp + 0x56], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x57], WSASetLastError
mov byte [rsp + 0x58], 0x75
mov byte [rsp + 0x59], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x5a], 0x5d
mov byte [rsp + 0x5b], WSASetLastError
mov byte [rsp + 0x5c], 0x6a
mov byte [rsp + 0x5d], 0x64
mov byte [rsp + 0x5e], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5f], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x60], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x61], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x62], 0x2f
mov byte [rsp + 0x63], 0x75
mov byte [rsp + 0x64], 0x75
mov byte [rsp + 0x65], 0x67
mov byte [rsp + 0x66], 0
mov al, byte [rsp + 0x54]
mov al, byte [rsp + rcx + 0x54]
dec al
mov byte [rsp + rcx + 0x54], al
inc rcx
cmp rcx, 0x12
jb 0x18005dd59
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005dd73
lea r8, [rsp + 0x54]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005dd82
movss xmm2, dword [0x1800da1cc]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003cbe4
mov byte [rbp - 0x48], 1
xor ecx, ecx
mov byte [rbp + rbx], 0
mov byte [rsp + 0x30], 0x60
mov byte [rsp + 0x31], 0x4a
mov byte [rsp + 0x32], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x33], WSACleanup
mov byte [rsp + 0x34], 0x78
mov byte [rsp + 0x35], 0x77
mov byte [rsp + 0x36], 0x60
mov byte [rsp + 0x37], 0x77
mov byte [rsp + 0x38], WSASetLastError
mov byte [rsp + 0x39], WSACleanup
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x79
mov byte [rsp + 0x3c], WSACleanup
mov byte [rsp + 0x3d], 0x32
mov byte [rsp + 0x3e], 0x78
mov byte [rsp + 0x3f], 0x78
mov byte [rsp + 0x40], 0x67
mov byte [rsp + 0x41], 0
mov al, byte [rsp + 0x30]
mov al, byte [rsp + rcx + 0x30]
sub al, 4
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x18005de13
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005de2d
lea r8, [rsp + 0x30]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005de3c
movss xmm2, dword [0x1800da1cc]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003cbe4
mov byte [rbp + rbx], 0
xor ecx, ecx
mov byte [rsp + 0x42], 0x62
mov byte [rsp + 0x43], 0x4c
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x46], 0x7a
mov byte [rsp + 0x47], 0x79
mov byte [rsp + 0x48], 0x62
mov byte [rsp + 0x49], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x4a], 0x67
mov byte [rsp + 0x4b], WSACleanup
mov byte [rsp + 0x4c], WSASetLastError
mov byte [rsp + 0x4d], 0x7b
mov byte [rsp + 0x4e], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4f], 0x34
mov byte [rsp + 0x50], 0x7a
mov byte [rsp + 0x51], 0x7a
mov byte [rsp + 0x52], WSASetLastError
mov byte [rsp + 0x53], 0
mov al, byte [rsp + 0x42]
mov al, byte [rsp + rcx + 0x42]
sub al, 6
mov byte [rsp + rcx + 0x42], al
inc rcx
cmp rcx, 0x11
jb 0x18005dec9
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005dee3
lea r8, [rsp + 0x42]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005def2
movss xmm2, dword [0x1800da1cc]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003cbe4
mov rbx, qword [rdi + 0x58]
cmp dword [rbx + 0x78], 0
jne 0x18005df2c
mov rcx, rbx
call fcn.18003c97c
mov rax, qword [rbx + 0x488]
test rax, rax
jne 0x18005df4d
lea rax, [0x18003d1d4]
mov qword [0x1801b8a40], rax
lea rax, [0x1801b8a40]
mov rcx, rbx
call qword [rax]
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret