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

Disassembly:
push rbx
mov eax, 0x1190
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x1148], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x1180], rax
mov eax, dword [0x1404bda98]
and eax, 1
test eax, eax
jne 0x14013ae45
mov eax, dword [0x1404bda98]
or eax, 1
mov dword [0x1404bda98], eax
lea rcx, [0x1404bda90]
call fcn.14001e2b0
lea rcx, [rsp + 0x60]
call fcn.140002de0
nop
mov eax, 0x43
mov word [rsp + 0x8b0], ax
mov eax, 0x43
mov word [rsp + 0x8b2], ax
mov eax, 0x42
mov word [rsp + 0x8b4], ax
mov eax, reloc.WSOCK32.dll_WSAGetLastError
mov word [rsp + 0x8b6], ax
mov eax, reloc.WSOCK32.dll_WSAGetLastError
mov word [rsp + 0x8b8], ax
mov eax, reloc.WSOCK32.dll_WSACleanup
mov word [rsp + 0x8ba], ax
xor eax, eax
mov word [rsp + 0x8bc], ax
mov eax, 0x2e
mov word [rsp + 0x78], ax
mov eax, 0x65
mov word [rsp + 0x7a], ax
mov eax, 0x78
mov word [rsp + 0x7c], ax
mov eax, 0x65
mov word [rsp + 0x7e], ax
xor eax, eax
mov word [rsp + 0x80], ax
lea rdx, [rsp + 0x8b0]
lea rcx, [rsp + 0x60]
call fcn.1400020d0
cmp dword [0x1404bda00], 0
jne 0x14013b044
lea rcx, [rsp + 0x8c8]
call fcn.1400767b0
nop
lea rdx, [0x1403b58d0]
add rdx, 0x228
lea r8, [0x140236274]
lea rcx, [rsp + 0x1110]
call fcn.1400010b0
mov qword [rsp + 0x1150], rax
mov rax, qword [rsp + 0x1150]
mov qword [rsp + 0x1158], rax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x1158]
lea rcx, [rsp + 0x1118]
call fcn.140006bd0
mov qword [rsp + 0x1160], rax
mov rax, qword [rsp + 0x1160]
mov qword [rsp + 0x1168], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x1168]
lea rcx, [rsp + 0x1120]
call fcn.1400010b0
mov qword [rsp + 0x1170], rax
mov rax, qword [rsp + 0x1170]
mov qword [rsp + 0x1178], rax
mov rcx, qword [rsp + 0x1178]
call fcn.14000f8f0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x8c8]
call fcn.1400768b4
mov dword [rsp + 0x1108], eax
lea rcx, [rsp + 0x1120]
call fcn.140001490
nop
lea rcx, [rsp + 0x1118]
call fcn.140001490
nop
lea rcx, [rsp + 0x1110]
call fcn.140001490
cmp dword [rsp + 0x1108], 0
je 0x14013b020
lea rcx, [rsp + 0x8c8]
call fcn.1400764bc
lea rdx, [0x1404bda90]
lea rcx, [rsp + 0x8c8]
call fcn.1400766e4
lea rcx, [rsp + 0x8c8]
call fcn.1400763e8
mov dword [0x1404bda00], 1
lea rcx, [rsp + 0x8c8]
call fcn.14007680c
lea rcx, [rsp + 0x1128]
call fcn.14000e290
mov r8, qword [0x1404bda90]
lea rdx, [rsp + 0x8a8]
mov rcx, rax
call fcn.14000e250
lea rcx, [rsp + 0x8a8]
call fcn.14000e230
mov qword [rsp + 0x8c0], rax
mov ecx, dword [rsp + 0x8c0]
call fcn.14001e290
mov ebx, eax
mov ecx, 5
call fcn.1401398f0
add eax, 5
cmp ebx, eax
jge 0x14013b0bd
mov dword [rsp + 0x1130], 1
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x1130]
jmp 0x14013b493
mov edx, 0x400
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x8a0]
call fcn.140002100
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.WSOCK32.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.WSOCK32.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.WSOCK32.dll_WSAGetLastError
mov word [rsp + 0x44], ax
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rsp + 0x46], ax
mov eax, reloc.WSOCK32.dll_WSACleanup
mov word [rsp + 0x48], ax
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rsp + 0x4a], ax
xor eax, eax
mov word [rsp + 0x4c], ax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x8a0]
call fcn.1400060d0
lea rcx, [rsp + 0x60]
call fcn.140006970
lea rcx, [rsp + 0x8a0]
call fcn.14000f8f0
lea rdx, [0x140236424]
mov rcx, rax
call fcn.1400aa368
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14013b2cf
mov rcx, qword [rsp + 0x70]
call fcn.1400aa3d8
test eax, eax
jne 0x14013b2c5
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x900]
call fcn.1400a87c0
mov r8, qword [rsp + 0x70]
mov edx, 0x400
lea rcx, [rsp + 0x900]
call fcn.1400aa448
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x8f8]
call fcn.140002100
nop
lea rcx, [rsp + 0x8f8]
call fcn.140006970
lea rcx, [rsp + 0x60]
call fcn.14000f8f0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x8f8]
call fcn.140006780
test eax, eax
jl 0x14013b2b3
mov rcx, qword [rsp + 0x70]
call fcn.1400aa608
mov dword [rsp + 0x1134], 0
lea rcx, [rsp + 0x8f8]
call fcn.140001490
nop
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x1134]
jmp 0x14013b493
lea rcx, [rsp + 0x8f8]
call fcn.140001490
jmp 0x14013b1ea
mov rcx, qword [rsp + 0x70]
call fcn.1400aa608
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.WSOCK32.dll_WSAGetLastError
mov byte [rsp + 0x58], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rsp + 0x59], reloc.WSOCK32.dll_WSACleanup
mov byte [rsp + 0x5a], 0x2e
mov byte [rsp + 0x5b], 0x63
mov byte [rsp + 0x5c], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rsp + 0x5d], WSASetLastError
mov byte [rsp + 0x5e], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14013b367
mov dword [rsp + 0x1138], 1
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x1138]
jmp 0x14013b493
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x88], 0
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x14013b3bf
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
mov dword [rsp + 0x1100], eax
movzx eax, byte [rsp + 0x1100]
mov dword [rsp + 0x88], eax
xor ecx, ecx
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x90], 0
je 0x14013b469
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x14013b469
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rcx*8]
mov eax, dword [rax]
mov dword [rsp + 0x1104], eax
movzx eax, byte [rsp + 0x1104]
cmp dword [rsp + 0x88], eax
jne 0x14013b459
mov dword [rsp + 0x113c], 0
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x113c]
jmp 0x14013b493
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
jmp 0x14013b3d7
mov dword [rsp + 0x1140], 1
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x1140]
mov rcx, qword [rsp + 0x1180]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x1190
pop rbx
ret