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

Disassembly:
mov eax, 0x10f8
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x10d8], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x10e0], rax
lea rcx, [rsp + 0x60]
call fcn.140002de0
nop
mov eax, 0x43
mov word [rsp + 0x8a8], ax
mov eax, 0x43
mov word [rsp + 0x8aa], ax
mov eax, 0x42
mov word [rsp + 0x8ac], ax
mov eax, reloc.WSOCK32.dll_WSAGetLastError
mov word [rsp + 0x8ae], ax
mov eax, reloc.WSOCK32.dll_WSAGetLastError
mov word [rsp + 0x8b0], ax
mov eax, reloc.WSOCK32.dll_WSACleanup
mov word [rsp + 0x8b2], ax
xor eax, eax
mov word [rsp + 0x8b4], 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 + 0x8a8]
lea rcx, [rsp + 0x60]
call fcn.1400020d0
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, [0x140245db4]
mov rcx, rax
call fcn.1400aa368
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140196604
mov rcx, qword [rsp + 0x70]
call fcn.1400aa3d8
test eax, eax
jne 0x1401965fa
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x8c0]
call fcn.1400a87c0
mov r8, qword [rsp + 0x70]
mov edx, 0x400
lea rcx, [rsp + 0x8c0]
call fcn.1400aa448
lea rdx, [rsp + 0x8c0]
lea rcx, [rsp + 0x8b8]
call fcn.140002100
nop
lea rcx, [rsp + 0x8b8]
call fcn.140006970
lea rcx, [rsp + 0x60]
call fcn.14000f8f0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x8b8]
call fcn.140006780
test eax, eax
jl 0x1401965e8
mov rcx, qword [rsp + 0x70]
call fcn.1400aa608
mov dword [rsp + 0x10c8], 0
lea rcx, [rsp + 0x8b8]
call fcn.140001490
nop
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x10c8]
jmp 0x1401967c8
lea rcx, [rsp + 0x8b8]
call fcn.140001490
jmp 0x14019651f
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 0x14019669c
mov dword [rsp + 0x10cc], 1
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x10cc]
jmp 0x1401967c8
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 0x1401966f4
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 + 0x10c0], eax
movzx eax, byte [rsp + 0x10c0]
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 0x14019679e
movsxd rcx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x14019679e
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 + 0x10c4], eax
movzx eax, byte [rsp + 0x10c4]
cmp dword [rsp + 0x88], eax
jne 0x14019678e
mov dword [rsp + 0x10d0], 0
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x10d0]
jmp 0x1401967c8
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
jmp 0x14019670c
mov dword [rsp + 0x10d4], 1
lea rcx, [rsp + 0x8a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x60]
call fcn.140001490
mov eax, dword [rsp + 0x10d4]
mov rcx, qword [rsp + 0x10e0]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x10f8
ret