Function at 0x180008330
Capabilities:
Get hostname
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x510
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1800f4040]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
xor r12d, r12d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memset
movabs rax, 0x240b149d988a9f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xddfe7dbe54943bf4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xed3f5cbace1cdfc7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xb4fb208e41752480
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x82d70691e68c1bab
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xca45f2f3fd40bc99
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs r15, 0x340df92ae9dae193
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x400], rax
movabs r13, 0xedb025e723ad42b8
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x408], rax
movabs rax, 0x870a35d8be56889d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x410], rax
movabs rax, 0x87bd4ded374516e2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x418], rax
movabs rax, 0xb6bf4ec6a3de28e7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x420], rax
movabs rax, 0xca45f2f39716d0cc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x428], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x400]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x420]
vmovdqa xmmword [rbp + 0x80], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x30], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1800084f0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.180002220
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xa0]
call fcn.1800017e0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180008522
mov rax, qword [rax]
mov r8d, 1
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.1800143b0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1800085ad
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800085a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800085a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180018a70
movdqa xmm0, xmmword [0x1800edbd0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x180008602
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800085fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800085fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180018a70
movdqa xmm0, xmmword [0x1800edbd0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
movups xmmword [rbp + 0xd8], xmm0
movdqa xmm1, xmmword [0x1800edbd0]
movdqu xmmword [rbp + 0xe8], xmm1
mov byte [rbp + 0xd8], 0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x120]
call fcn.180016db0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x18000871b
nop
mov rax, qword [rbp + 0xc8]
cmp rax, qword [rbp + 0xd0]
je 0x1800086b9
lea rdx, [rbp + 0xd8]
mov rcx, rax
call fcn.180014d30
add qword [rbp + 0xc8], 0x20
jmp 0x1800086cf
lea r8, [rbp + 0xd8]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1800173a0
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x120]
call fcn.180016db0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180008690
mov ecx, 0x202
lea rdx, [rbp + 0x230]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18000881c
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x180008777
mov rcx, qword [rbp + 0xd8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008a54
call fcn.180018a70
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1800087e0
mov rdx, qword [rbp + 0xc8]
call fcn.180016760
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xc0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800087c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008abb
call fcn.180018a70
xorps xmm0, xmm0
mov qword [rbp + 0xd0], r12
movdqu xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0x120]
call fcn.180008bd0
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1800182e0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, 0x64
lea rcx, [rbp + 0x440]
call qword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x18000883e
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x180008735
lea rcx, [rbp + 0x440]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x18000885b
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x180008735
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r12
inc rbx
cmp byte [rax + rbx], 0
jne 0x180008882
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.180002220
mov rbx, qword [rbp + 0xc0]
mov r14, qword [rbp + 0x110]
mov rdi, qword [rbp + 0xf8]
mov rsi, qword [rbp + 0xc8]
cmp rbx, rsi
je 0x1800089db
mov r15, qword [rbp + 0x108]
nop dword [rax]
lea rdx, [rbp + 0xf8]
cmp r14, 0xf
cmova rdx, rdi
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800088f0
mov rcx, qword [rbx]
cmp r8, r15
jne 0x1800088fe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180008907
add rbx, 0x20
cmp rbx, rsi
jne 0x1800088d0
movabs r15, 0x340df92ae9dae193
cmp rbx, rsi
je 0x1800089db
movabs rax, 0x340df92ae9a893f6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3d0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x3d8], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x3d0]
movdqa xmmword [rbp + 0x10], xmm0
movabs rax, 0x340df92ae9dae1a5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3e0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x3e8], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x3e0]
movdqa xmmword [rbp + 0x20], xmm0
mov r9d, 0x10
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp r14, 0xf
jbe 0x180008a1c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180008a13
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008a13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180018a70
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x180008a61
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008a5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008a5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180018a70
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1800087e0
mov rdx, qword [rbp + 0xc8]
call fcn.180016760
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xc0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800087c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800087c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3