Function at 0x18005d380
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 sub.msvcrt.dll_memset
mov rdi, qword [0x18019fc70]
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 0x18005d40f
mov byte [rsp + 0x54], 0x66
xor ecx, ecx
mov byte [rsp + 0x55], 0x50
mov byte [rsp + 0x56], 0x79
mov byte [rsp + 0x57], 0x78
mov byte [rsp + 0x58], 0x7e
mov byte [rsp + 0x59], 0x7d
mov byte [rsp + 0x5a], 0x66
mov byte [rsp + 0x5b], 0x77
mov byte [rsp + 0x5c], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5d], WSASetLastError
mov byte [rsp + 0x5e], 0x7c
mov byte [rsp + 0x5f], 0x79
mov byte [rsp + 0x60], 0x7d
mov byte [rsp + 0x61], 0x7d
mov byte [rsp + 0x62], 0x38
mov byte [rsp + 0x63], 0x7e
mov byte [rsp + 0x64], 0x7e
mov byte [rsp + 0x65], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x66], 0
mov al, byte [rsp + 0x54]
mov al, byte [rsp + rcx + 0x54]
sub al, 0xa
mov byte [rsp + rcx + 0x54], al
inc rcx
cmp rcx, 0x12
jb 0x18005d47d
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005d497
lea r8, [rsp + 0x54]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005d4a6
movss xmm2, dword [0x1800d2254]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003c5d4
mov byte [rbp - 0x48], 1
xor ecx, ecx
mov byte [rbp + rbx], 0
mov byte [rsp + 0x30], 0x5d
mov byte [rsp + 0x31], 0x47
mov byte [rsp + 0x32], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x33], WSAStartup
mov byte [rsp + 0x34], 0x75
mov byte [rsp + 0x35], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x36], 0x5d
mov byte [rsp + 0x37], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x38], 0x6a
mov byte [rsp + 0x39], WSASetLastError
mov byte [rsp + 0x3a], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x3b], 0x76
mov byte [rsp + 0x3c], WSAStartup
mov byte [rsp + 0x3d], 0x2f
mov byte [rsp + 0x3e], 0x75
mov byte [rsp + 0x3f], 0x75
mov byte [rsp + 0x40], 0x64
mov byte [rsp + 0x41], 0
mov al, byte [rsp + 0x30]
mov al, byte [rsp + rcx + 0x30]
dec al
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x18005d537
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005d551
lea r8, [rsp + 0x30]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005d560
movss xmm2, dword [0x1800d2254]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003c5d4
mov byte [rbp + rbx], 0
xor ecx, ecx
mov byte [rsp + 0x42], 0x64
mov byte [rsp + 0x43], 0x4e
mov byte [rsp + 0x44], 0x77
mov byte [rsp + 0x45], 0x76
mov byte [rsp + 0x46], 0x7c
mov byte [rsp + 0x47], 0x7b
mov byte [rsp + 0x48], 0x64
mov byte [rsp + 0x49], 0x75
mov byte [rsp + 0x4a], 0x69
mov byte [rsp + 0x4b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4c], WSAStartup
mov byte [rsp + 0x4d], 0x7d
mov byte [rsp + 0x4e], 0x76
mov byte [rsp + 0x4f], 0x36
mov byte [rsp + 0x50], 0x7c
mov byte [rsp + 0x51], 0x7c
mov byte [rsp + 0x52], WSASetLastError
mov byte [rsp + 0x53], 0
mov al, byte [rsp + 0x42]
mov al, byte [rsp + rcx + 0x42]
sub al, 8
mov byte [rsp + rcx + 0x42], al
inc rcx
cmp rcx, 0x11
jb 0x18005d5ed
lea rcx, [rbp]
dec rcx
inc rcx
cmp byte [rcx], 0
jne 0x18005d607
lea r8, [rsp + 0x42]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18005d616
movss xmm2, dword [0x1800d2254]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi + 0x58]
lea rdx, [rbp]
call fcn.18003c5d4
mov rbx, qword [rdi + 0x58]
cmp dword [rbx + 0x78], 0
jne 0x18005d650
mov rcx, rbx
call fcn.18003c36c
mov rax, qword [rbx + 0x488]
test rax, rax
jne 0x18005d671
lea rax, [0x18003cbc4]
mov qword [0x1801a0b38], rax
lea rax, [0x1801a0b38]
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