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

Disassembly:
mov eax, 0x10d8
call fcn.1401d4c90
sub rsp, rax
mov qword [rsp + 0x10c0], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x10c8], 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.1400020d0
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.140006000
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.140023510
lea rdx, [0x14022edcc]
mov rcx, rax
call fcn.1400a9d60
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140133acd
mov rcx, qword [rsp + 0x68]
call fcn.1400a9dd0
test eax, eax
jne 0x140133ac3
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x8a0]
call fcn.1400a8080
mov r8, qword [rsp + 0x68]
mov edx, 0x400
lea rcx, [rsp + 0x8a0]
call fcn.1400a9e40
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x898]
call fcn.1400020d0
nop
lea rcx, [rsp + 0x898]
call fcn.140006970
xor r8d, r8d
lea rdx, [rsp + 0x888]
lea rcx, [rsp + 0x898]
call fcn.140006780
test eax, eax
jl 0x140133ab1
mov rcx, qword [rsp + 0x68]
call fcn.1400aa000
mov dword [rsp + 0x10a8], 0
lea rcx, [rsp + 0x898]
call fcn.140001490
nop
lea rcx, [rsp + 0x880]
call fcn.140001490
mov eax, dword [rsp + 0x10a8]
jmp 0x140133c96
lea rcx, [rsp + 0x898]
call fcn.140001490
jmp 0x1401339f8
mov rcx, qword [rsp + 0x68]
call fcn.1400aa000
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 0x140133b54
mov dword [rsp + 0x10ac], 1
lea rcx, [rsp + 0x880]
call fcn.140001490
mov eax, dword [rsp + 0x10ac]
jmp 0x140133c96
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x74], 0
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140133ba0
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 + 0x74], 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 0x140133c29
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
cmp qword [rax + rcx*8], 0
je 0x140133c29
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 + 0x74], eax
jne 0x140133c1c
mov dword [rsp + 0x10b0], 0
lea rcx, [rsp + 0x880]
call fcn.140001490
mov eax, dword [rsp + 0x10b0]
jmp 0x140133c96
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
jmp 0x140133bb5
mov r9d, 1
mov r8d, 3
mov edx, 0xbb8
lea rcx, [rsp + 0x50]
call fcn.140185140
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 1
jl 0x140133c77
cmp dword [rsp + 0x70], 2
jg 0x140133c77
mov dword [rsp + 0x10b4], 0
lea rcx, [rsp + 0x880]
call fcn.140001490
mov eax, dword [rsp + 0x10b4]
jmp 0x140133c96
mov dword [rsp + 0x10b8], 1
lea rcx, [rsp + 0x880]
call fcn.140001490
mov eax, dword [rsp + 0x10b8]
mov rcx, qword [rsp + 0x10c8]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x10d8
ret