Function at 0x180006310
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1c0
mov r8d, dword [0x18005308c]
mov rbx, rcx
mov rdx, rcx
mov ecx, 0x52b3f2a3
call fcn.180019c14
test rax, rax
je 0x180006362
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525b4]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525b4], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x9434ed15
call fcn.180019c14
test rax, rax
je 0x1800063a4
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x180052598]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x180052598], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x5b32dc67
call fcn.180019c14
test rax, rax
je 0x1800063e6
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [str._xx_n]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [str._xx_n], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x72b39509
call fcn.180019c14
test rax, rax
je 0x180006428
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525a0]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525a0], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xd6cc977a
call fcn.180019c14
test rax, rax
je 0x18000646a
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525a4]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525a4], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x2e7cbff4
call fcn.180019c14
test rax, rax
je 0x1800064ac
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525ac]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525ac], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x26ff9756
call fcn.180019c14
test rax, rax
je 0x1800064ee
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x180052570]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x180052570], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x16fe0353
call fcn.180019c14
test rax, rax
je 0x180006530
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x18005157c]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x18005157c], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x1bdab7f9
call fcn.180019c14
test rax, rax
je 0x180006572
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525b0]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525b0], ecx
cmp dword [0x180052fe4], 0x37688758
jne 0x18000663e
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xef5374de
call fcn.180019c14
test rax, rax
je 0x1800065c4
lea r8, [rsp + 0x1d8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrToIntExA]
mov ecx, dword [0x1800525a8]
test eax, eax
cmovne ecx, dword [rsp + 0x1d8]
mov dword [0x1800525a8], ecx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xdc45d7ed
call fcn.180019c14
test rax, rax
mov rdi, rax
je 0x180006606
lea rdx, [rsp + 0x20]
mov cx, 0x201
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180006606
lea r8d, [rax + 1]
lea rdx, [0x180052ee8]
mov rcx, rdi
call fcn.180019c64
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xa90a49bc
call fcn.180019c14
test rax, rax
je 0x18000663e
xor edx, edx
mov rcx, rax
call fcn.180019fa0
mov rcx, qword [0x180052f70]
test rax, rax
cmovne rcx, rax
mov qword [0x180052f70], rcx
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xc3c87e2
call fcn.180019c14
test rax, rax
je 0x1800066e8
mov edx, 0x10
mov rcx, rax
call fcn.180019fa0
test rax, rax
mov rdi, rax
je 0x1800066e8
mov rcx, qword [0x180053c50]
add rcx, 0x30
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [0x180053c50]
mov ecx, dword [r11 + 0x58]
test ecx, ecx
je 0x1800066aa
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [0x180053c50]
mov eax, dword [r11 + 0x58]
test eax, eax
jne 0x180006690
mov rcx, qword [0x180053c50]
mov r8, qword [rcx]
test r8, r8
je 0x1800066db
lea rax, [0x1800581f0]
cmp r8, rax
je 0x1800066db
mov rcx, qword [0x180052eb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180053c50]
mov qword [rcx], rdi
add rcx, 0x30
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x93f2b52a
call fcn.180019c14
test rax, rax
je 0x180006723
xor edx, edx
mov rcx, rax
call fcn.180019fa0
test rax, rax
je 0x180006723
mov rcx, qword [0x180053c50]
mov rdx, rax
add rcx, 8
call fcn.180004f28
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0xfb066a86
call fcn.180019c14
test rax, rax
je 0x18000675e
xor edx, edx
mov rcx, rax
call fcn.180019fa0
test rax, rax
je 0x18000675e
mov rcx, qword [0x180053c50]
mov rdx, rax
add rcx, 8
call fcn.180004f28
mov r8d, dword [0x18005308c]
mov rdx, rbx
mov ecx, 0x3672fa80
call fcn.180019c14
test rax, rax
je 0x180006799
xor edx, edx
mov rcx, rax
call fcn.180019fa0
test rax, rax
je 0x180006799
mov rcx, qword [0x180053c50]
mov rdx, rax
add rcx, 0x12
call fcn.180004f28
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rdi
ret