Function at 0x18000f170
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x18005d0e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea rcx, [0x18005d078]
mov rax, qword [0x18005d078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rcx, [0x18005d078]
mov rax, qword [0x18005d078]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x18005d078]
mov rax, qword [0x18005d078]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18000f267
lea rdx, str.unknow_PC
mov rcx, rbp
call fcn.180001580
nop
lea rdx, [rbx - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f242
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f262
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x18000f43f
mov edx, 0x80
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x18000f3f0
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rsp + 0x1e0]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x18000f2fc
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x18000f374
cmp dword [rdx + 0x10], eax
jge 0x18000f2d2
cmp dword [rbx - 0xc], eax
jge 0x18000f2c7
mov ecx, 0x80070057
call fcn.180001050
int3
mov dword [rbx - 0x10], r12d
mov byte [rbx], al
jmp 0x18000f374
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f2e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
jmp 0x18000f374
mov r13d, dword [rbx - 0x10]
lea r12, [rsp + 0x1e0]
sub r12, rbx
test ecx, ecx
jns 0x18000f31a
mov ecx, 0x80070057
call fcn.180001050
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x18000f33c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.180001ef0
mov rbx, qword [rsp + 0x20]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r12, r13
movsxd r13, edi
mov r9, r13
ja 0x18000f359
lea r8, [r12 + rbx]
call fcn.18002f970
jmp 0x18000f366
lea r8, [rsp + 0x1e0]
call fcn.18002feb4
cmp edi, dword [rbx - 0xc]
jg 0x18000f3e5
mov dword [rbx - 0x10], edi
mov byte [r13 + rbx], 0
cmp dword [rbx - 0x10], 0
jne 0x18000f396
mov r8d, 9
lea rdx, str.unknow_PC
lea rcx, [rsp + 0x20]
call fcn.180001b40
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x18]
call fcn.180001790
add rax, 0x18
mov qword [rbp], rax
mov eax, esi
lock xadd dword [rbx - 8], eax
dec eax
test eax, eax
jg 0x18000f3c3
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f3e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x18000f43f
mov ecx, 0x80070057
call fcn.180001050
int3
lea rdx, str.unknow_PC
mov rcx, rbp
call fcn.180001580
nop
lea rdx, [rbx - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f41f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f43f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000f45c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rbp
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18002f950
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret