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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x3e8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x360], 0xfffffffffffffffe
mov rbx, rcx
lea rdx, [rbp - 0x58]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000f660
mov ecx, dword [0x14014af84]
lea eax, [rcx + 1]
imul eax, ecx
test al, 1
sete dl
cmp dword [0x14014af80], 0xa
setl r8b
setge cl
cmp r8b, dl
jne 0x14000f68e
or cl, al
test cl, 1
jne 0x14000f6ca
jmp 0x14000f68e
mov eax, dword [0x14014af84]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x14014af80], 0xa
setl cl
test cl, al
jne 0x14000f701
xor cl, al
je 0x14000f73c
jmp 0x14000f701
lea rdx, [0x1401266a8]
mov rcx, rbx
call fcn.14000d870
mov ecx, dword [0x14014af84]
mov eax, dword [0x14014af80]
lea edx, [rcx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
and ecx, edx
sete dl
cmp eax, 0xa
setl r8b
test r8b, dl
jne 0x14000f6db
xor r8b, dl
jne 0x14000f6db
lea rdx, [0x1401266a8]
mov rcx, rbx
call fcn.14000d870
jmp 0x14000f68e
test ecx, ecx
sete cl
cmp eax, 0xa
setl al
test al, cl
jne 0x14000f6f2
xor al, cl
jne 0x14000f6f2
nop
jmp 0x14000f6f0
mov rax, rbx
add rsp, 0x3e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x140]
mov edx, 0x100
call qword [sym.imp.WS2_32.dll_gethostname]
mov ecx, dword [0x14014af84]
lea edx, [rcx + 1]
imul edx, ecx
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete cl
cmp dword [0x14014af80], 0xa
setl dl
test dl, cl
jne 0x14000f750
xor dl, cl
jne 0x14000f750
lea rcx, [rbp + 0x140]
mov edx, 0x100
call qword [sym.imp.WS2_32.dll_gethostname]
jmp 0x14000f701
test eax, eax
je 0x14000f7fc
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, [0x1401266a8]
mov rcx, rbx
call fcn.14000d870
mov edx, dword [0x14014af84]
mov eax, dword [0x14014af80]
lea ecx, [rdx + 1]
imul ecx, edx
and ecx, 1
sete dl
cmp eax, 0xa
setl r8b
test r8b, dl
jne 0x14000fcf0
xor r8b, dl
jne 0x14000fcf0
mov rdi, qword [sym.imp.WS2_32.dll_WSACleanup]
lea rsi, [0x1401266a8]
nop dword [rax]
call rdi
mov rcx, rbx
mov rdx, rsi
call fcn.14000d870
call rdi
mov rcx, rbx
mov rdx, rsi
call fcn.14000d870
mov edx, dword [0x14014af84]
mov eax, dword [0x14014af80]
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
sete dl
cmp eax, 0xa
setl r8b
test r8b, dl
jne 0x14000fcf0
xor r8b, dl
je 0x14000f7b0
jmp 0x14000fcf0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x2e0], xmm0
movaps xmmword [rbp + 0x2f0], xmm0
movaps xmmword [rbp + 0x300], xmm0
movabs rax, 0x200000002
mov qword [rbp + 0x2e4], rax
lea rcx, [rbp + 0x140]
lea r8, [rbp + 0x2e0]
lea r9, [rbp + 0x330]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14000f884
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [0x14014af84]
lea eax, [rcx + 1]
imul eax, ecx
test al, 1
sete dl
cmp dword [0x14014af80], 0xa
setge cl
setl r8b
xor r8b, dl
jne 0x14000fc9c
or cl, al
test cl, 1
jne 0x14000fcdf
jmp 0x14000fc9c
mov qword [rbp + 0x350], rbx
mov rax, qword [rbp + 0x350]
mov qword [rbp + 0x310], rax
lea rax, [rbp + 0x348]
mov qword [rbp + 0x2c0], rax
mov eax, 0xff78f44a
nop dword [rax]
cmp eax, 0x454eff10
je 0x14000f8e2
cmp eax, 0xff78f44a
jne 0x14000f8b0
mov rax, qword [rbp + 0x2c0]
movzx edx, byte [rax]
mov rcx, qword [rbp + 0x310]
call fcn.140041520
mov rax, qword [rbp + 0x350]
mov eax, 0x454eff10
jmp 0x14000f8b0
mov rax, qword [rbp + 0x350]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 7
mov qword [rbp + 0x248], rax
mov r8d, 0xf3e12489
mov eax, 0x6a386b04
mov ecx, 0xf8799af
mov edx, 0x3eeb08b6
nop word cs:[rax + rax]
cmp r8d, 0x3eeb08b5
jle 0x14000f9b0
cmp r8d, 0x3eeb08b6
je 0x14000f9de
cmp r8d, 0x4d42468c
je 0x14000fa2b
cmp r8d, 0x6a386b04
jne 0x14000f920
mov r8, qword [rbp + 0x248]
mov word [r8], 0
mov r8d, dword [0x14014b0a4]
mov r9d, dword [0x14014b0a0]
lea r10d, [r8 + 1]
imul r10d, r8d
not r10d
or r10d, 0xfffffffe
cmp r10d, 0xffffffff
sete r8b
cmp r9d, 0xa
setl r11b
xor r11b, r8b
mov r11d, 0xf8799af
cmovne r11d, edx
cmp r10d, 0xffffffff
mov r8d, r11d
cmove r8d, edx
cmp r9d, 0xa
cmovge r8d, r11d
jmp 0x14000f920
cmp r8d, 0xf3e12489
je 0x14000f9e9
cmp r8d, 0xf8799af
jne 0x14000f920
mov r8, qword [rbp + 0x248]
mov word [r8], 0
mov r8d, 0x6a386b04
jmp 0x14000f920
mov r8d, 0x4d42468c
jmp 0x14000f920
mov r8d, dword [0x14014b0a4]
lea r9d, [r8 + 1]
imul r9d, r8d
mov r8d, r9d
xor r8d, 0xfffffffe
test r8d, r9d
sete r9b
mov r8d, 0xf8799af
cmove r8d, eax
cmp dword [0x14014b0a0], 0xa
cmovge r8d, ecx
setl r10b
xor r10b, r9b
cmovne r8d, eax
jmp 0x14000f920
mov rax, qword [rbp + 0x350]
mov eax, dword [0x14014af84]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
sete dl
cmp dword [0x14014af80], 0xa
setge al
setl r8b
xor r8b, dl
or al, cl
xor al, 1
or al, r8b
nop dword [rax]
test al, 1
je 0x14000fa60
mov rax, qword [rbp + 0x330]
test rax, rax
je 0x14000fad2
mov qword [rbp + 0x338], rbx
mov rdx, qword [rax + 0x20]
add rdx, 4
lea r8, [rbp + 0x310]
mov r9d, 0x16
mov ecx, 2
call sub.WS2_32.dll_inet_ntop
lea rcx, [rbp + 0x248]
call fcn.14000fe40
mov eax, dword [0x14014af84]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x14014af80], 0xa
setl cl
test cl, al
jne 0x14000fad9
xor cl, al
jne 0x14000fad9
nop dword [rax + rax]
jmp 0x14000fad0
xor ecx, ecx
jmp 0x14000fc79
lea rcx, [rbp + 0x248]
lea rsi, [rbp + 0x2c0]
lea r8, [rbp + 0x310]
mov rdx, rsi
call fcn.140010190
mov eax, 0x68040e74
mov edi, 0xd300f514
mov rbx, qword [rbp + 0x338]
nop word [rax + rax]
cmp eax, 0xeb713b45
jg 0x14000fb40
cmp eax, 0x8436bffc
je 0x14000fbb4
cmp eax, 0x883d493e
je 0x14000fb74
cmp eax, 0xd300f514
jne 0x14000fb10
mov qword [rbp + 0x350], rsi
mov eax, 0x883d493e
jmp 0x14000fb10
cmp eax, 0xeb713b46
je 0x14000fb7b
cmp eax, 0x4431f786
je 0x14000fba0
cmp eax, 0x68040e74
jne 0x14000fb10
mov qword [rbp + 0x348], rbx
mov rax, qword [rbp + 0x348]
cmp rax, rsi
setne byte [rbp + 0x35f]
mov eax, 0x4431f786
jmp 0x14000fb10
mov eax, 0xeb713b46
jmp 0x14000fb10
mov rcx, qword [rbp + 0x348]
mov rdx, qword [rbp + 0x350]
movzx r8d, byte [rbp + 0x340]
call fcn.1400844a0
mov eax, 0x8436bffc
jmp 0x14000fb10
cmp byte [rbp + 0x35f], 0
mov eax, 0x8436bffc
cmovne eax, edi
jmp 0x14000fb10
mov rax, qword [rbp + 0x348]
mov eax, 0xf56d7ca7
cmp eax, 0x7fcbddfe
je 0x14000fbe8
cmp eax, 0xf56d7ca7
jne 0x14000fbc0
mov qword [rbp + 0x340], rsi
mov rcx, qword [rbp + 0x340]
call fcn.140047550
mov eax, 0x7fcbddfe
jmp 0x14000fbc0
mov rax, qword [rbp + 0x340]
mov qword [rbp + 0x348], rax
mov eax, 0x27e964ad
nop dword [rax + rax]
cmp eax, 0x15fc7aa6
je 0x14000fc1c
cmp eax, 0x27e964ad
jne 0x14000fc00
mov eax, 0x15fc7aa6
mov rcx, qword [rbp + 0x348]
jmp 0x14000fc00
mov qword [rbp + 0x350], rcx
mov rcx, qword [rbp + 0x350]
call fcn.140044970
lea rcx, [rbp + 0x248]
call fcn.140010350
mov eax, dword [0x14014af84]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x14014af80], 0xa
setl cl
test cl, al
jne 0x14000fc72
xor cl, al
jne 0x14000fc72
nop word cs:[rax + rax]
jmp 0x14000fc70
mov rcx, qword [rbp + 0x330]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [0x14014af84]
mov eax, dword [0x14014af80]
lea ecx, [rdx - 1]
imul ecx, edx
and ecx, 1
jmp 0x14000fcf0
lea rdx, [0x1401266a8]
mov rcx, rbx
call fcn.14000d870
mov ecx, dword [0x14014af84]
mov eax, dword [0x14014af80]
lea edx, [rcx + 1]
imul edx, ecx
mov ecx, edx
and ecx, 1
sete r9b
cmp eax, 0xa
setl r10b
setge r8b
cmp r10b, r9b
jne 0x14000fcf0
or r8b, dl
test r8b, 1
je 0x14000fcf0
lea rdx, [0x1401266a8]
mov rcx, rbx
call fcn.14000d870
jmp 0x14000fc9c
test ecx, ecx
sete dl
cmp eax, 0xa
setl r8b
test r8b, dl
jne 0x14000f6db
xor r8b, dl
jne 0x14000f6db
nop
jmp 0x14000fd10