Function at 0x140119660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
cmp qword [rsp + 0x98], 0
jne 0x1401196a2
mov eax, 0xffffffff
jmp 0x140119b6f
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xfffffffd
je 0x1401196cf
cmp dword [rsp + 0x38], 0xfffffffe
je 0x1401198e7
cmp dword [rsp + 0x38], 0xffffffff
je 0x140119a4d
jmp 0x140119ac2
cmp qword [rsp + 0x60], 0
jne 0x1401196e1
mov eax, 0xffffffff
jmp 0x140119b6f
mov rcx, qword [rsp + 0x70]
call fcn.140125bc0
mov r8d, 8
mov edx, 0x80
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 6
lea rdx, [0x140288154]
mov rcx, qword [rsp + 0x70]
call fcn.1401195e0
mov r8d, 8
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 8
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 4]
shr eax, 4
mov r8d, reloc.WS2_32.dll_recv
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
shr eax, 4
mov r8d, reloc.WS2_32.dll_recv
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x18
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x18
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 8
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 8
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x20
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x20
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x18
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x18
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 8
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 0x18
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x34]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 6
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 5
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 2
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 3
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov dword [rsp + 0x28], 1
jmp 0x140119ac9
cmp qword [rsp + 0x90], 0
jne 0x1401198fc
mov eax, 0xffffffff
jmp 0x140119b6f
mov rcx, qword [rsp + 0x88]
call sub.MSVCR120D.dll_strlen
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x70]
call fcn.140125bc0
mov r8d, 8
mov edx, 0x81
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 6
lea rdx, [0x14028815c]
mov rcx, qword [rsp + 0x70]
call fcn.1401195e0
mov r8d, 0x20
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x70]
call fcn.140124fd0
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.1401195e0
mov r8d, 0x20
mov rax, qword [rsp + 0x90]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
call fcn.140124fd0
mov dword [rsp + 0x30], 0
jmp 0x14011999d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x30], eax
jge 0x140119a43
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
cmp qword [rcx + rax*8], 0
je 0x140119a2c
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
mov r8d, 0x20
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
call fcn.140124fd0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
movsxd rdx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x90]
mov r8, qword [r8]
mov qword [rsp + 0x40], r8
mov r8d, dword [rcx + rax*4]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + rdx*8]
mov rcx, qword [rsp + 0x70]
call fcn.1401195e0
jmp 0x140119a3e
mov r8d, 0x20
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140124fd0
jmp 0x140119993
mov dword [rsp + 0x28], 0
jmp 0x140119ac9
mov rcx, qword [rsp + 0x70]
call fcn.140125bc0
mov r8d, 8
mov edx, 0x82
mov rcx, qword [rsp + 0x70]
call fcn.140125c90
mov r8d, 6
lea rdx, str.theora
mov rcx, qword [rsp + 0x70]
call fcn.1401195e0
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140104930
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1401059c0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x140119ab8
mov eax, dword [rsp + 0x34]
jmp 0x140119b6f
mov dword [rsp + 0x28], 0
jmp 0x140119ac9
xor eax, eax
jmp 0x140119b6f
mov rcx, qword [rsp + 0x70]
call fcn.1401265c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140119aea
mov eax, 0xffffffff
jmp 0x140119b6f
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
call fcn.140126540
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x98]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
add eax, 3
cdqe
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
add eax, 3
add rsp, 0x50
pop rdi
ret