Function at 0x4cb380
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x248], rdx
mov rcx, qword [rbp + 0x248]
call fcn.00410230
nop
mov rcx, qword [rbp + 0x40]
call fcn.004100d0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x004221f8]
call fcn.00413ec0
lea rcx, [0x004cb890]
mov rdx, qword [rbp + 0x248]
mov r8d, 1
mov r9d, 0x7fffffff
mov rax, qword [0x00bb8998]
call qword [rax]
lea rcx, [rbp + 0x248]
mov edx, 1
mov r8d, eax
call fcn.004113d0
mov rcx, qword [rbp + 0x248]
call fcn.004108b0
mov rcx, qword [rbp + 0x248]
movsxd rax, eax
cmp byte [rcx + rax - 1], 0x3e
jne 0x4cb469
mov rcx, qword [rbp + 0x248]
call fcn.004108b0
lea rcx, [rbp + 0x248]
mov edx, eax
mov r8d, 1
call fcn.004113d0
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x248]
call fcn.00410860
xor rsi, rsi
mov rcx, qword [rbp + 0x68]
call fcn.004108b0
mov ebx, eax
cmp ebx, 1
jl 0x4cb4bd
mov rax, qword [rbp + 0x68]
movsxd rcx, ebx
cmp byte [rax + rcx - 1], 0x2e
jne 0x4cb4b6
cmp esi, 2
jne 0x4cb4b3
lea rcx, [rbp + 0x68]
mov edx, 1
mov r8d, ebx
call fcn.004113d0
jmp 0x4cb4bd
add esi, 1
sub ebx, 1
test ebx, ebx
jne 0x4cb48c
nop
mov cx, 0x101
lea rdx, [rbp + 0x88]
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4cb7a7
mov rcx, rbp
lea rdx, [rbp + 0x58]
call fcn.004ca570
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov r8, qword [0x004221f8]
call fcn.00413f40
cmp qword [rbp + 0x60], 0
je 0x4cb5c7
mov rcx, qword [rbp + 0x60]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x248]
mov r8, qword [rbp + 0x60]
mov r9, rax
mov byte [rsp + 0x20], 0xf
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
call fcn.004caf30
cmp qword [rbp + 0x78], 0
je 0x4cb54e
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
call fcn.004107e0
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x4cb7a2
mov rcx, qword [rbp + 0x248]
mov rdx, qword [rbp + 0x68]
call fcn.004112d0
test eax, eax
je 0x4cb7a2
mov rcx, qword [rbp + 0x60]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x60]
mov r9, rax
mov byte [rsp + 0x20], 0xf
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
call fcn.004caf30
cmp qword [rbp + 0x78], 0
je 0x4cb7a2
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
call fcn.004107e0
jmp 0x4cb7a2
lea rax, [0x004cb8a0]
mov qword [rbp + 0x48], rax
lea rax, [0x004cb8c0]
mov qword [rbp + 0x50], rax
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
lea r8, [rbp + 0x48]
mov r9d, 1
mov byte [rsp + 0x20], 2
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x30], rax
call fcn.004caf30
cmp qword [rbp + 0x78], 0
je 0x4cb7a2
mov rcx, qword [rbp + 0x78]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x78]
mov r9, rax
mov byte [rsp + 0x20], 2
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
call fcn.004caf30
mov ebx, 1
cmp qword [rbp + 0x80], 0
jne 0x4cb6b8
cmp qword [rbp + 0x70], 0
je 0x4cb6b8
mov rcx, qword [rbp + 0x70]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x70]
mov r9, rax
mov byte [rsp + 0x20], 2
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x30], rax
call fcn.004caf30
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
mov r8, qword [0x004221f8]
call fcn.00413f40
add ebx, 1
cmp ebx, 0xb
jne 0x4cb655
nop
cmp qword [rbp + 0x80], 0
jne 0x4cb6e1
cmp qword [rbp + 0x78], 0
je 0x4cb6e1
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x78]
mov r8, qword [0x004221f8]
call fcn.00413f40
mov rcx, qword [rbp + 0x80]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x248]
mov r8, qword [rbp + 0x80]
mov r9, rax
mov byte [rsp + 0x20], 0xf
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
call fcn.004caf30
cmp qword [rbp + 0x78], 0
je 0x4cb734
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
call fcn.004107e0
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x4cb7a2
mov rcx, qword [rbp + 0x248]
mov rdx, qword [rbp + 0x68]
call fcn.004112d0
test eax, eax
je 0x4cb7a2
mov rcx, qword [rbp + 0x80]
call fcn.00413950
mov rcx, rbp
mov rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x80]
mov r9, rax
mov byte [rsp + 0x20], 0xf
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
call fcn.004caf30
cmp qword [rbp + 0x78], 0
je 0x4cb7a2
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
call fcn.004107e0
call sub.wsock32.dll_WSACleanup
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x004221f8]
mov r8d, 2
call fcn.00412e00
lea rcx, [rbp + 0x68]
call fcn.004100d0
lea rcx, [rbp + 0x70]
mov rdx, qword [0x004221f8]
mov r8d, 3
call fcn.00412e00
lea rcx, [rbp + 0x248]
call fcn.004100d0
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret