Function at 0x1401337e0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Resolve dns

Disassembly:
mov eax, 0x10d8
call fcn.1401d5c30
sub rsp, rax
mov qword [rsp + 0x10b8], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov edx, 0x400
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x880]
call fcn.140002090
nop
mov eax, VarDateFromDisp
mov word [rsp + 0x28], ax
mov eax, 0x64
mov word [rsp + 0x2a], ax
mov eax, WSACleanup
mov word [rsp + 0x2c], ax
mov eax, 0x69
mov word [rsp + 0x2e], ax
mov eax, 0x76
mov word [rsp + 0x30], ax
mov eax, 0x65
mov word [rsp + 0x32], ax
mov eax, WSACleanup
mov word [rsp + 0x34], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x36], ax
mov eax, VarDateFromDisp
mov word [rsp + 0x38], ax
mov eax, 0x65
mov word [rsp + 0x3a], ax
mov eax, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x3c], ax
mov eax, 0x63
mov word [rsp + 0x3e], ax
mov eax, VarDateFromDisp
mov word [rsp + 0x40], ax
mov eax, 0x68
mov word [rsp + 0x42], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x44], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x46], ax
mov eax, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x48], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x4a], ax
xor eax, eax
mov word [rsp + 0x4c], ax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x880]
call fcn.140005fa0
mov r11d, 0x63
mov word [rsp + 0x888], r11w
mov eax, 0x63
mov word [rsp + 0x88a], ax
mov eax, 0x62
mov word [rsp + 0x88c], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x88e], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x890], ax
mov eax, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x892], ax
xor eax, eax
mov word [rsp + 0x894], ax
lea rcx, [rsp + 0x880]
call fcn.1400012c0
lea rdx, [0x14022fdcc]
mov rcx, rax
call fcn.1400a9d50
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140133a5d
mov rcx, qword [rsp + 0x68]
call fcn.1400a9dc0
test eax, eax
jne 0x140133a53
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x8a0]
call fcn.1400a8070
mov r8, qword [rsp + 0x68]
mov edx, 0x400
lea rcx, [rsp + 0x8a0]
call fcn.1400a9e30
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x898]
call fcn.140002090
nop
lea rcx, [rsp + 0x898]
call fcn.140006910
xor r8d, r8d
lea rdx, [rsp + 0x888]
lea rcx, [rsp + 0x898]
call fcn.140006720
test eax, eax
jl 0x140133a41
mov rcx, qword [rsp + 0x68]
call fcn.1400a9ff0
mov dword [rsp + 0x10a8], 0
lea rcx, [rsp + 0x898]
call fcn.140001470
nop
lea rcx, [rsp + 0x880]
call fcn.140001470
mov eax, dword [rsp + 0x10a8]
jmp 0x140133bd8
lea rcx, [rsp + 0x898]
call fcn.140001470
jmp 0x140133988
mov rcx, qword [rsp + 0x68]
call fcn.1400a9ff0
mov byte [rsp + 0x50], WSACleanup
mov byte [rsp + 0x51], 0x65
mov byte [rsp + 0x52], 0x67
mov byte [rsp + 0x53], 0x2e
mov byte [rsp + 0x54], 0x63
mov byte [rsp + 0x55], 0x63
mov byte [rsp + 0x56], 0x62
mov byte [rsp + 0x57], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x58], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x59], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x5a], 0x2e
mov byte [rsp + 0x5b], 0x63
mov byte [rsp + 0x5c], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x5d], WSASetLastError
mov byte [rsp + 0x5e], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140133ae4
mov dword [rsp + 0x10ac], 1
lea rcx, [rsp + 0x880]
call fcn.140001470
mov eax, dword [rsp + 0x10ac]
jmp 0x140133bd8
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140133b30
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
mov dword [rsp + 0x10a0], eax
movzx eax, byte [rsp + 0x10a0]
mov dword [rsp + 0x70], eax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0x78], 0
je 0x140133bb9
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140133bb9
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
mov dword [rsp + 0x10a4], eax
movzx eax, byte [rsp + 0x10a4]
cmp dword [rsp + 0x70], eax
jne 0x140133bac
mov dword [rsp + 0x10b0], 0
lea rcx, [rsp + 0x880]
call fcn.140001470
mov eax, dword [rsp + 0x10b0]
jmp 0x140133bd8
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
jmp 0x140133b45
mov dword [rsp + 0x10b4], 1
lea rcx, [rsp + 0x880]
call fcn.140001470
mov eax, dword [rsp + 0x10b4]
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x10d8
ret