Function at 0x180002178
Capabilities:
Initialize winsock library

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x200
xor ebp, ebp
xor esi, esi
mov rbx, rdx
and dword [r11 + 0x20], esi
mov edx, 0x9132bdfa
xor edi, edi
xor eax, eax
mov r12, r8
mov qword [rsp + 0x40], rbp
mov dword [r11 + 8], 0x57
lea r14d, [rbp + 4]
lea r15d, [rbp + 0x28]
cmp ecx, edx
ja 0x180002606
je 0x18000253a
mov eax, 0x488c2efa
cmp ecx, eax
ja 0x180002470
je 0x180002416
mov eax, 0x25167e31
cmp ecx, eax
ja 0x1800022f7
je 0x1800022c9
cmp ecx, 0x4acad82
je 0x180002a56
cmp ecx, 0xbb028be
je 0x1800022ab
cmp ecx, 0xcd926ce
je 0x18000225e
cmp ecx, 0x172672b0
je 0x18000223a
cmp ecx, 0x1ddeb827
je 0x180002444
cmp ecx, 0x1de4de13
jne 0x180002a37
lea edi, [rbp + 0x27]
jmp 0x180002b7e
mov esi, 0x10
mov eax, 0xffef
movzx r8d, word [0x18003412c]
and r8w, ax
or r8w, si
mov ecx, dword [0x180034128]
xor edx, edx
jmp 0x180002274
test rbx, rbx
je 0x180002bbb
movzx r8d, word [0x18003412c]
mov rdx, rbx
xor ecx, ecx
mov r9b, 0xff
mov byte [rsp + 0x20], r9b
call fcn.18001d6a0
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x180002bbb
lea rdx, [rsp + 0x230]
mov r9, r12
mov r8d, r14d
mov ecx, r15d
call fcn.18000bc1c
jmp 0x180002bb1
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.180021440
jmp 0x180002281
test rbx, rbx
je 0x180002bbb
mov r9d, 1
mov qword [rsp + 0x20], r8
lea r8d, [r9 + 0x1d]
xor edx, edx
mov rcx, rbx
call fcn.18000c868
mov dword [rsp + 0x230], eax
jmp 0x180002bb1
cmp ecx, 0x2695d702
je 0x1800023d6
cmp ecx, 0x2c19b5f7
je 0x180002a53
cmp ecx, 0x32a48467
je 0x18000237d
cmp ecx, 0x3c0568dd
je 0x180002342
cmp ecx, 0x43c53c3e
je 0x180002338
cmp ecx, 0x446a5079
je 0x180002a4c
jmp 0x180002a37
mov edi, 0x1b
jmp 0x180002b7e
mov rax, qword [0x180035c60]
lea rsi, [0x180000000]
mov edx, 0xb
lea rcx, [rax + rsi + 0x3940d]
mov qword [rsp + 0x20], rcx
lea ecx, [rdx + 0x16]
lea r9, [rax + rsi + 0x39e17]
mov r8d, 0x10000
call fcn.1800030ac
jmp 0x180002281
test byte [0x18003412c], 1
je 0x1800026c1
call fcn.18002b608
test eax, eax
jne 0x1800026c1
lock add dword [0x180035c40], 1
lea rcx, [0x180022cec]
xor r8d, r8d
xor edx, edx
call fcn.18000ac68
test rax, rax
jne 0x1800023c8
call qword [sym.imp.kERNEL32.dll_GetLastError]
lock add dword [0x180035c40], 0xffffffff
jmp 0x1800026c1
mov rcx, rax
call qword [sym.imp.kERNEL32.dll_CloseHandle]
jmp 0x1800026c1
test rbx, rbx
je 0x180002bbb
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov r9d, 1
mov rcx, rbx
call fcn.18002bf00
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x1800029fd
lea edi, [rax + 0x14]
mov rbp, qword [rsp + 0x40]
jmp 0x180002b7e
test rbx, rbx
je 0x180002456
mov rcx, rbx
call fcn.1800197c8
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x180002444
lea rdx, [rsp + 0x230]
mov r9, r12
mov r8d, r14d
mov ecx, r15d
call fcn.18000bc1c
test rbx, rbx
je 0x180002456
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
jmp 0x180002458
xor eax, eax
mov ecx, 0x37
mov r8d, eax
mov rdx, rbx
mov r9, r12
call fcn.18000bc1c
jmp 0x1800022eb
mov eax, 0x6e2aa0a7
cmp ecx, eax
ja 0x180002583
je 0x18000255d
cmp ecx, 0x57dec5ee
je 0x180002535
cmp ecx, 0x590fdb80
je 0x180002525
cmp ecx, 0x6722cb95
je 0x180002507
cmp ecx, 0x6744b10d
je 0x1800024fd
cmp ecx, 0x6a3acd06
je 0x1800024e7
cmp ecx, 0x6d3c2a4f
jne 0x180002a37
mov rax, qword [0x180035c60]
lea rsi, [0x180000000]
mov edx, 8
lea rcx, [rax + rsi + 0x39409]
mov qword [rsp + 0x20], rcx
lea ecx, [rdx + 0x15]
jmp 0x180002365
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call fcn.18001bbf4
jmp 0x180002281
call fcn.18000f8ec
jmp 0x180002281
test rbx, rbx
je 0x180002519
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
jmp 0x18000251b
xor eax, eax
mov ecx, 0x3f
jmp 0x18000245d
mov r9, r8
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x20]
jmp 0x180002466
mov eax, 1
test rbx, rbx
je 0x180002bbb
neg eax
mov qword [rsp + 0x20], r12
sbb r8d, r8d
and r8d, 8
add r8d, 0x1e
xor r9d, r9d
jmp 0x1800022e1
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, eax
call qword [sym.imp.kERNEL32.dll_Sleep]
and dword [rsp + 0x230], esi
jmp 0x180002290
cmp ecx, 0x719c8982
je 0x1800025fc
cmp ecx, 0x71f2fa0e
je 0x180002a51
cmp ecx, 0x73a67bf7
je 0x1800025c1
cmp ecx, 0x847a93c1
je 0x18000223f
cmp ecx, 0x8bb360fd
jne 0x180002a37
mov edi, 0x33
jmp 0x180002b7e
test rbx, rbx
je 0x180002bbb
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov r9d, 1
mov rcx, rbx
call fcn.18002bf00
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x1800029fd
lea edi, [rax + 0x16]
jmp 0x18000240c
mov edi, 0x18
jmp 0x180002b7e
mov eax, 0xbadf2569
cmp ecx, eax
ja 0x1800028bb
je 0x1800027d7
mov eax, 0xa7f11b66
cmp ecx, eax
ja 0x180002716
je 0x18000270c
cmp ecx, 0x939c4337
je 0x1800026eb
cmp ecx, 0x93df5cbb
je 0x1800026e1
cmp ecx, 0x97bf75b1
je 0x1800026cb
cmp ecx, 0x9ce85640
je 0x1800026bc
cmp ecx, 0xa1253e0c
je 0x180002672
cmp ecx, 0xa7e6e3b1
jne 0x180002a37
mov edi, 0x12
jmp 0x180002b7e
test rbx, rbx
je 0x180002bbb
lea rdx, [rsp + 0x60]
mov ecx, 0x201
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x18000269e
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800227b0
jmp 0x1800026a0
xor eax, eax
test eax, eax
je 0x180002bb1
mov r8d, 0x10
lea rdx, [rsp + 0x50]
lea ecx, [r8 + 0xf]
jmp 0x180002463
mov esi, 1
mov eax, 0xfffe
jmp 0x180002244
movzx r8d, word [0x18003412c]
mov eax, 0xfff7
and r8w, ax
jmp 0x180002254
mov edi, 0x49
jmp 0x180002b7e
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.180007ed4
jmp 0x180002281
mov edi, 0x17
jmp 0x180002b7e
cmp ecx, 0xadaf62e3
je 0x1800027cd
cmp ecx, 0xb2c1b0b1
je 0x1800027b7
cmp ecx, 0xb3661727
je 0x180002a4e
cmp ecx, 0xb5358216
je 0x180002776
cmp ecx, 0xb629fa7c
je 0x18000277e
cmp ecx, 0xb6cb1420
jne 0x180002a37
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
mov ecx, 0x11
lea r8d, [rax + 1]
jmp 0x180002460
mov edi, 1
add edi, 0xa
test rbx, rbx
je 0x180002a87
xor edx, edx
mov rcx, rbx
call fcn.18000f450
mov rbp, rax
test rax, rax
je 0x180002a87
mov rcx, rax
add edi, 0x42
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x248], eax
jmp 0x180002b7a
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call fcn.180004214
jmp 0x1800022eb
mov edi, 0x23
jmp 0x180002b7e
test rbx, rbx
je 0x180002bbb
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
mov edi, 8
mov dword [rsp + 0x248], eax
cmp eax, edi
jbe 0x18000289d
mov rax, qword [0x180035c60]
lea rsi, [0x180000000]
lea ebp, [rdi - 1]
lea rdx, [rax + rsi + 0x39123]
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x180002864
mov rax, qword [0x180035c60]
mov r8d, edi
mov rcx, rbx
lea rdx, [rax + rsi + 0x3912b]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x180002864
mov rax, qword [0x180035c60]
mov r8d, ebp
mov rcx, rbx
lea rdx, [rax + rsi + 0x39134]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x18000289d
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov r9d, 1
mov rcx, rbx
call fcn.18002bf00
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x1800029fd
mov rbp, qword [rsp + 0x40]
mov edi, 0x4a
jmp 0x180002b7e
xor edx, edx
mov rcx, rbx
call fcn.18000f450
mov rbp, rax
test rax, rax
jne 0x180002893
mov dword [rsp + 0x230], edi
jmp 0x180002b9a
mov eax, 0xdbb6b8a4
cmp ecx, eax
ja 0x180002a07
je 0x180002995
cmp ecx, 0xc316cba3
je 0x180002981
cmp ecx, 0xc4eeea77
je 0x180002977
cmp ecx, 0xc782b83c
je 0x18000293c
cmp ecx, 0xcb8da0c3
je 0x180002932
cmp ecx, 0xd0ca4083
je 0x180002928
cmp ecx, 0xd13f609b
jne 0x180002a37
test rbx, rbx
je 0x18000291c
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
jmp 0x18000291e
xor eax, eax
mov ecx, 0x45
jmp 0x18000245d
mov edi, 0x40
jmp 0x180002b7e
mov edi, 0x3d
jmp 0x180002b7e
test rbx, rbx
je 0x180002bbb
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov r9d, 1
mov rcx, rbx
call fcn.18002bf00
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x1800029fd
lea edi, [rax + 0x15]
jmp 0x18000240c
mov edi, 0x19
jmp 0x180002b7e
xor r9d, r9d
mov qword [rsp + 0x20], r8
mov edx, r14d
lea r8d, [r9 + 0x3b]
jmp 0x1800022e3
test rbx, rbx
je 0x1800029b4
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbx
call fcn.18002bf00
jmp 0x1800029e8
mov rcx, qword [0x180035b50]
lea rax, [rsp + 0x248]
mov r9d, 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea edx, [r9 + 2]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], esi
xor r8d, r8d
call fcn.180027c24
mov dword [rsp + 0x230], eax
cmp eax, esi
jne 0x1800029fd
mov edi, 0x31
jmp 0x18000240c
mov rbp, qword [rsp + 0x40]
jmp 0x180002b9a
cmp ecx, 0xde2c7af9
je 0x180002b4c
cmp ecx, 0xf0358e98
je 0x180002a98
cmp ecx, 0xfb38cbb5
je 0x180002a8e
cmp ecx, 0xfb962853
je 0x18000277b
cmp ecx, 0xfe3d64cb
je 0x180002a47
mov dword [rsp + 0x230], 1
jmp 0x180002bbb
mov esi, 1
inc esi
add esi, 2
inc esi
add esi, 2
test rbx, rbx
je 0x180002a7f
xor edx, edx
mov rcx, rbx
call fcn.18000f450
mov rbp, rax
test rax, rax
je 0x180002a7f
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x248], eax
lea edi, [rsi + 0x41]
jmp 0x180002b7a
xor edi, edi
jmp 0x180002b7a
mov edi, 0x1a
jmp 0x180002b7e
movzx r8d, word [0x18003412c]
mov ecx, dword [0x180034128]
mov r9b, 0xff
xor edx, edx
or r8w, 8
mov byte [rsp + 0x20], 0xff
call fcn.18001d6a0
mov dword [rsp + 0x230], eax
test eax, eax
jne 0x180002bbb
mov rcx, qword [0x180035ae8]
lea r8d, [rax + 1]
xor edx, edx
call fcn.180006748
mov rbx, rax
test rax, rax
je 0x180002b41
mov ecx, dword [0x1800350dc]
and dword [rsp + 0x28], esi
and qword [rsp + 0x20], rsi
imul rcx, rcx, 0xffffffffff676980
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.kERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x180002b1f
and dword [rsp + 0x230], esi
jmp 0x180002b2c
call qword [sym.imp.kERNEL32.dll_GetLastError]
mov dword [rsp + 0x230], eax
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x230]
jmp 0x180002288
call qword [sym.imp.kERNEL32.dll_GetLastError]
jmp 0x180002281
test rbx, rbx
je 0x180002b5e
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
inc eax
jmp 0x180002b60
xor eax, eax
mov r9, r12
mov r8d, eax
mov rdx, rbx
mov ecx, 0x32
call fcn.18000bc1c
mov dword [rsp + 0x230], eax
test edi, edi
je 0x180002b9a
mov r8d, dword [rsp + 0x248]
mov r9, r12
mov rdx, rbp
mov ecx, edi
call fcn.18000bc1c
mov dword [rsp + 0x230], eax
test rbp, rbp
je 0x180002bb1
mov rcx, qword [0x180035a68]
mov r8, rbp
xor edx, edx
call qword [sym.imp.kERNEL32.dll_HeapFree]
cmp dword [rsp + 0x230], 0
je 0x180002bd1
lea rdx, [rsp + 0x230]
mov r9, r12
mov r8d, r14d
mov ecx, r15d
call fcn.18000bc1c
mov eax, dword [rsp + 0x230]
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret