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

Disassembly:
push rbx
mov eax, 0x1190
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x1148], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x1180], rax
mov eax, dword [0x1404d0ad8]
and eax, 1
test eax, eax
jne 0x14013ccd5
mov eax, dword [0x1404d0ad8]
or eax, 1
mov dword [0x1404d0ad8], eax
lea rcx, [0x1404d0ad0]
call fcn.14000dd50
lea rcx, [rsp + 0x60]
call fcn.140002d10
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.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x8b6], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x8b8], ax
mov eax, reloc.WS2_32.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.140002020
cmp dword [0x1404d0a40], 0
jne 0x14013ced4
lea rcx, [rsp + 0x8c8]
call fcn.1400777f0
nop
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140246d24]
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.140006c50
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.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x8c8]
call fcn.1400778f4
mov dword [rsp + 0x1108], eax
lea rcx, [rsp + 0x1120]
call fcn.140007060
nop
lea rcx, [rsp + 0x1118]
call fcn.140007060
nop
lea rcx, [rsp + 0x1110]
call fcn.140007060
cmp dword [rsp + 0x1108], 0
je 0x14013ceb0
lea rcx, [rsp + 0x8c8]
call fcn.1400774fc
lea rdx, [0x1404d0ad0]
lea rcx, [rsp + 0x8c8]
call fcn.140077724
lea rcx, [rsp + 0x8c8]
call fcn.140077428
mov dword [0x1404d0a40], 1
lea rcx, [rsp + 0x8c8]
call fcn.14007784c
lea rcx, [rsp + 0x1128]
call fcn.14000dd70
mov r8, qword [0x1404d0ad0]
lea rdx, [rsp + 0x8a8]
mov rcx, rax
call fcn.14000dd10
lea rcx, [rsp + 0x8a8]
call fcn.14000dcf0
mov qword [rsp + 0x8c0], rax
mov ecx, dword [rsp + 0x8c0]
call fcn.14001f240
mov ebx, eax
mov ecx, 5
call fcn.14013b780
add eax, 5
cmp ebx, eax
jge 0x14013cf4d
mov dword [rsp + 0x1130], 1
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x1130]
jmp 0x14013d323
mov edx, 0x400
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x8a0]
call fcn.140002050
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 + 0x8a0]
call fcn.140006080
lea rcx, [rsp + 0x60]
call fcn.1400069f0
lea rcx, [rsp + 0x8a0]
call fcn.140050200
lea rdx, [0x140246ed4]
mov rcx, rax
call fcn.1400ab5cc
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14013d15f
mov rcx, qword [rsp + 0x70]
call fcn.1400ab63c
test eax, eax
jne 0x14013d155
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x900]
call fcn.1400a9850
mov r8, qword [rsp + 0x70]
mov edx, 0x400
lea rcx, [rsp + 0x900]
call fcn.1400ab6ac
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x8f8]
call fcn.140002050
nop
lea rcx, [rsp + 0x8f8]
call fcn.1400069f0
lea rcx, [rsp + 0x60]
call fcn.140050200
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x8f8]
call fcn.140006800
test eax, eax
jl 0x14013d143
mov rcx, qword [rsp + 0x70]
call fcn.1400ab86c
mov dword [rsp + 0x1134], 0
lea rcx, [rsp + 0x8f8]
call fcn.140007060
nop
lea rcx, [rsp + 0x8a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x1134]
jmp 0x14013d323
lea rcx, [rsp + 0x8f8]
call fcn.140007060
jmp 0x14013d07a
mov rcx, qword [rsp + 0x70]
call fcn.1400ab86c
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 + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14013d1f7
mov dword [rsp + 0x1138], 1
lea rcx, [rsp + 0x8a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x1138]
jmp 0x14013d323
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 0x14013d24f
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.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x90], 0
je 0x14013d2f9
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x14013d2f9
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 0x14013d2e9
mov dword [rsp + 0x113c], 0
lea rcx, [rsp + 0x8a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x113c]
jmp 0x14013d323
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
jmp 0x14013d267
mov dword [rsp + 0x1140], 1
lea rcx, [rsp + 0x8a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x60]
call fcn.140007060
mov eax, dword [rsp + 0x1140]
mov rcx, qword [rsp + 0x1180]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1190
pop rbx
ret