Function at 0x140009bf0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r13
push r14
push r15
sub rsp, 0x5a0
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rsp + 0x590], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
lea r14d, [rbx + 7]
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], bx
lea rdx, [0x140043a48]
lea rcx, [rsp + 0x50]
call fcn.1400024b8
nop
mov eax, ebx
lea rcx, [0x14004e410]
mov esi, 0xff
lea r13d, [rbx + 1]
mov word [rcx], ax
add eax, r13d
lea rcx, [rcx + 2]
cmp eax, esi
jle 0x140009c5c
lea rdx, [0x140043a48]
lea r15, [0x14004c248]
mov rcx, r15
call fcn.1400024b8
movdqa xmm0, xmmword [0x1400450c0]
movdqu xmmword [rsp + 0x230], xmm0
mov edi, 4
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140009cb9
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
movdqa xmm0, xmmword [0x140044f90]
movdqa xmmword [rsp + 0x250], xmm0
movdqa xmm1, xmmword [0x1400450a0]
movdqa xmmword [rsp + 0x260], xmm1
movdqa xmm0, xmmword [0x140044e00]
movdqa xmmword [rsp + 0x270], xmm0
movdqa xmm1, xmmword [0x140045130]
movdqa xmmword [rsp + 0x280], xmm1
mov r8d, 0x10
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140009d3a
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
movdqa xmm0, xmmword [0x140045120]
movdqu xmmword [rsp + 0x230], xmm0
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140009d85
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
mov dword [rsp + 0x230], 0x100
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x30]
call fcn.1400024b8
lea rcx, [rsp + 0x50]
call fcn.1400025b8
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
mov word [rsp + 0x30], bx
lea rcx, [rsp + 0x30]
call fcn.1400025b8
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r15
call fcn.14000261c
movdqa xmm0, xmmword [0x140044fb0]
movdqu xmmword [rsp + 0x230], xmm0
mov dword [rsp + 0x240], WSAStartup
mov r8d, 5
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140009e75
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
mov ecx, 0x101
lea rdx, [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, esi
lea rcx, [rsp + 0x290]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x290]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r14, rax
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], bl
jne 0x140009ed6
add rcx, r13
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140010328
mov rsi, rax
mov r8, rdi
inc r8
cmp byte [r14 + r8], bl
jne 0x140009efb
add r8, r13
xor edx, edx
mov rcx, rsi
call fcn.1400134d0
mov rax, rdi
inc rax
cmp byte [r14 + rax], bl
jne 0x140009f14
add eax, r13d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, edi
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140009f39
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call fcn.14000261c
mov edx, 2
mov rcx, rsi
call fcn.140010068
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009fe1
mov rdi, qword [rsp + 0x230]
test rdi, rdi
je 0x140009fe1
lea r8, str.MachineGuid
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000ad2c
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140009fbd
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140009ff8
mov r8d, 9
lea rdx, str.GUIDERROR
lea rcx, [rsp + 0x50]
call fcn.14000261c
movdqa xmm0, xmmword [0x1400450f0]
movdqu xmmword [rsp + 0x230], xmm0
mov edi, 4
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000a031
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r15
call fcn.14000261c
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax], bx
movdqa xmm0, xmmword [0x1400450b0]
movdqu xmmword [rsp + 0x230], xmm0
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000a0b3
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
mov eax, dword [0x14004e1d0]
cmp eax, r13d
jne 0x14000a0e9
mov r8, r13
lea rdx, [0x14004474c]
mov rcx, r15
call fcn.14000261c
jmp 0x14000a0ff
test eax, eax
jne 0x14000a0ff
mov r8, r13
lea rdx, [0x140044340]
mov rcx, r15
call fcn.14000261c
movdqa xmm0, xmmword [0x140045110]
movdqu xmmword [rsp + 0x230], xmm0
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000a133
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
movdqa xmm0, xmmword [0x140045090]
movdqu xmmword [rsp + 0x230], xmm0
mov r8d, edi
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140005870
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000a17e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.14000261c
nop
lea rcx, [rsp + 0x30]
call fcn.1400025b8
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], 7
lea rdx, [0x14004498c]
lea rcx, [rsp + 0x70]
call fcn.1400024b8
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
call fcn.140006bf0
lea rcx, [rsp + 0x70]
call fcn.1400025b8
nop
jmp 0x14000a1ec
lea rcx, [rsp + 0x50]
call fcn.1400025b8
mov eax, ebx
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
ret