Function at 0x14005c1f0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x50], eax
xor edi, edi
test eax, eax
je 0x14005c27a
lea ebx, [rdi + 5]
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005c273
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.WSAStartup_failed:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x161
lea r8, str.CSIS::WebServices::GetIPAddress
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.140032100
xor al, al
jmp 0x14005c326
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140138ee0
mov ebx, 1
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x7c], 6
mov qword [rsp + 0x58], rdi
lea rax, vtable.CSIS::SystemDetails.0
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.14006a790
test al, al
jne 0x14005c34a
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005c305
lea rax, str.Failed_to_get_machine_name
mov qword [rsp + 0x20], rax
mov r9d, 0x171
lea r8, str.CSIS::WebServices::GetIPAddress
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.14003209c
mov bl, dil
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14005c324
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
call fcn.1400331fc
nop
mov al, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_GetAddrInfoExW]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x14005c3e0
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005c305
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.GetAddrInfoEx_failed_with_error:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x177
lea r8, str.CSIS::WebServices::GetIPAddress
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.140032100
jmp 0x14005c305
mov ecx, 6
call fcn.1400e2070
test eax, eax
je 0x14005c418
lea rax, str.GetAddrInfoEx_succeeded.
mov qword [rsp + 0x20], rax
mov r9d, 0x17a
lea r8, str.CSIS::WebServices::GetIPAddress
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, 6
call fcn.14003209c
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14005c305
mov ecx, 2
cmp dword [rdx + 4], ecx
je 0x14005c43e
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x14005c42b
jmp 0x14005c305
mov rdx, qword [rdx + 0x20]
add rdx, 4
mov r9d, 0x10
lea r8, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_InetNtopW]
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x20]
call fcn.140031d84
mov rdx, qword [0x1403d9540]
cmp rdx, 8
jb 0x14005c49a
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x1403d9528]
call fcn.1400331fc
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [0x1403d9528], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1403d9538], xmm1
lea rcx, [0x1403d9528]
call fcn.140041b4c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoExW]
jmp 0x14005c308