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

Disassembly:
jmp 0x1400cbb50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
xor r12d, r12d
mov sil, r9b
mov r15d, r8d
mov rdi, rdx
cmp qword [rdx], r12
je 0x1400cbb86
cmp qword [rdx + 0x18], r12
jne 0x1400cbbaf
call fcn.1400033cd
mov dword [rax], socket
call fcn.140004845
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cbba8
cmp qword [rdi + 0x10], r12
jne 0x1400cbba8
mov byte [rax], r12b
xor eax, eax
jmp 0x1400cc47a
test r8d, r8d
je 0x1400cbbbd
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x1400cbb86
mov rdx, rcx
lea rcx, [rsp + 0x88]
call fcn.140004dc7
mov r14, r12
mov r13, qword [rdi + 0x10]
mov ebp, 0xffff
mov qword [rsp + 0x80], r13
lea rax, [r13 + 1]
mov qword [rdi + 0x10], rax
cmp qword [rdi + 8], r12
je 0x1400cbbfb
cmp rax, qword [rdi + 8]
jbe 0x1400cbbfb
movzx ebx, r12w
jmp 0x1400cbc1b
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbc18
movzx ebx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp bx, bp
jne 0x1400cbc1b
mov ebx, r12d
mov edx, 8
movzx ecx, bx
call fcn.1400012df
test eax, eax
je 0x1400cbc7b
mov r13d, 1
add qword [rdi + 0x10], r13
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cbc46
cmp rax, qword [rdi + 8]
ja 0x1400cbc66
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbc66
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
movzx ebx, dx
cmp dx, bp
jne 0x1400cbc6a
movzx ebx, r12w
mov edx, 8
movzx ecx, bx
call fcn.1400012df
test eax, eax
jne 0x1400cbc32
test sil, sil
mov ebp, r12d
setne bpl
cmp bx, 0x2d
jne 0x1400cbc90
or ebp, 2
jmp 0x1400cbc96
cmp bx, 0x2b
jne 0x1400cbcdc
mov esi, 1
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cbcb5
cmp rax, qword [rdi + 8]
jbe 0x1400cbcb5
movzx ebx, r12w
jmp 0x1400cbce1
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbcaf
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
mov eax, 0xffff
cmp dx, ax
je 0x1400cbcaf
movzx ebx, dx
jmp 0x1400cbce1
mov esi, 1
mov dword [rsp + 0xe8], 0xa70
mov eax, 0xa66
mov dword [rsp + 0x24], 0xae6
mov ecx, 0x30
mov dword [rsp + 0x54], 0xaf0
mov edx, 0x660
mov dword [rsp + 0x2c], 0xb66
mov r8d, 0xff10
mov dword [rsp + 0x6c], 0xb70
lea r11d, [rax - 0x80]
mov dword [rsp + 0x34], 0xc66
mov r9d, 0x6f0
mov dword [rsp + 0x5c], 0xc70
mov r10d, 0x966
mov dword [rsp + 0x3c], 0xce6
mov dword [rsp + 0x78], 0xcf0
mov dword [rsp + 0x44], 0xd66
mov dword [rsp + 0x64], 0xd70
mov dword [rsp + 0x4c], 0xe50
mov dword [rsp + 0x74], 0xe5a
mov dword [rsp + 0x20], 0xed0
mov dword [rsp + 0x28], 0xeda
mov dword [rsp + 0x30], 0xf20
mov dword [rsp + 0x38], 0xf2a
mov dword [rsp + 0x40], 0x1040
mov dword [rsp + 0x48], 0x104a
mov dword [rsp + 0x50], 0x17e0
mov dword [rsp + 0x58], 0x17ea
mov dword [rsp + 0x60], 0x1810
mov dword [rsp + 0x68], 0x181a
mov dword [rsp + 0x70], 0xff1a
test r15d, 0xffffffef
jne 0x1400cc0bd
cmp bx, cx
jb 0x1400cbf9f
cmp bx, 0x3a
jae 0x1400cbdef
movzx eax, bx
sub eax, ecx
jmp 0x1400cbf9a
cmp bx, r8w
jae 0x1400cbf88
cmp bx, dx
jb 0x1400cbf9f
mov ecx, 0x66a
cmp bx, cx
jae 0x1400cbe16
movzx eax, bx
sub eax, edx
jmp 0x1400cbf9a
cmp bx, r9w
jb 0x1400cbf9f
mov ecx, 0x6fa
cmp bx, cx
jae 0x1400cbe35
movzx eax, bx
sub eax, r9d
jmp 0x1400cbf9a
cmp bx, r10w
jb 0x1400cbf9f
mov ecx, 0x970
cmp bx, cx
jae 0x1400cbe54
movzx eax, bx
sub eax, r10d
jmp 0x1400cbf9a
cmp bx, r11w
jb 0x1400cbf9f
mov ecx, 0x9f0
cmp bx, cx
jae 0x1400cbe73
movzx eax, bx
sub eax, r11d
jmp 0x1400cbf9a
cmp bx, ax
jb 0x1400cbf9f
cmp bx, word [rsp + 0xe8]
jae 0x1400cbe93
movzx eax, bx
sub eax, 0xa66
jmp 0x1400cbf9a
mov ecx, dword [rsp + 0x24]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x54]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x2c]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x6c]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x34]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x5c]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x3c]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x78]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x44]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x64]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x4c]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x74]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x20]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x28]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x30]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x38]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x40]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x48]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x50]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x58]
jb 0x1400cbde5
mov ecx, dword [rsp + 0x60]
cmp bx, cx
jb 0x1400cbf9f
cmp bx, word [rsp + 0x68]
jae 0x1400cbf9f
jmp 0x1400cbde5
cmp bx, word [rsp + 0x70]
jae 0x1400cbf97
movzx eax, bx
sub eax, r8d
jmp 0x1400cbf9a
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1400cbfc8
lea eax, [rbx - 0x41]
cmp ax, 0x19
jbe 0x1400cbfb6
lea eax, [rbx - 0x61]
cmp ax, 0x19
jbe 0x1400cbfb6
or eax, 0xffffffff
jmp 0x1400cbfc8
lea eax, [rbx - 0x61]
cmp ax, 0x19
movzx eax, bx
ja 0x1400cbfc5
sub eax, 0x20
add eax, 0xffffffc9
test eax, eax
je 0x1400cbfe0
test r15d, r15d
jne 0x1400cc0bd
mov r15d, 0xa
jmp 0x1400cc0bd
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cbffa
cmp rax, qword [rdi + 8]
jbe 0x1400cbffa
movzx ecx, r12w
jmp 0x1400cc076
mov rdx, qword [rdi]
mov rax, qword [rdx + 0x10]
cmp rax, qword [rdx + 8]
je 0x1400cc073
movzx ecx, word [rax]
mov r8d, 0xffff
add rax, 2
mov qword [rdx + 0x10], rax
cmp cx, r8w
je 0x1400cc073
lea eax, [rcx - 0x58]
lea edx, [r8 - 0x20]
test dx, ax
jne 0x1400cc076
test r15d, r15d
mov eax, reloc.WSOCK32.dll_recv
cmove r15d, eax
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cc050
cmp rax, qword [rdi + 8]
jbe 0x1400cc050
movzx ebx, r12w
jmp 0x1400cc0b7
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cc04a
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp dx, r8w
je 0x1400cc04a
movzx ebx, dx
jmp 0x1400cc0b7
mov ecx, r12d
test r15d, r15d
mov eax, 8
cmove r15d, eax
dec qword [rdi + 0x10]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cc096
cmp rax, qword [rdi + 8]
ja 0x1400cc0b7
sub cx, si
mov eax, 0xfffd
cmp cx, ax
ja 0x1400cc0b7
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x1400cc0b7
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov r8d, 0xff10
xor edx, edx
movsxd r10, r15d
or rax, 0xffffffffffffffff
div r10
mov r11, rdx
mov r9, rax
mov edx, 8
lea r13d, [rdx + 0x28]
cmp bx, r13w
jb 0x1400cc285
cmp bx, 0x3a
jae 0x1400cc0f4
movzx r8d, bx
sub r8d, r13d
jmp 0x1400cc27f
cmp bx, r8w
jae 0x1400cc267
mov eax, 0x660
cmp bx, ax
jb 0x1400cc285
lea ecx, [rax + 0xa]
cmp bx, cx
jae 0x1400cc120
movzx r8d, bx
sub r8d, eax
jmp 0x1400cc27f
mov eax, 0x6f0
cmp bx, ax
jb 0x1400cc285
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc114
mov eax, 0x966
cmp bx, ax
jb 0x1400cc285
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc114
lea eax, [rcx + 0x76]
cmp bx, ax
jb 0x1400cc285
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc114
lea eax, [rcx + 0x76]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0xe8]
jb 0x1400cc114
mov eax, dword [rsp + 0x24]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x54]
jb 0x1400cc114
mov eax, dword [rsp + 0x2c]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x6c]
jb 0x1400cc114
mov eax, dword [rsp + 0x34]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x5c]
jb 0x1400cc114
mov eax, dword [rsp + 0x3c]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x78]
jb 0x1400cc114
mov eax, dword [rsp + 0x44]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x64]
jb 0x1400cc114
mov eax, dword [rsp + 0x4c]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x74]
jb 0x1400cc114
mov eax, dword [rsp + 0x20]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x28]
jb 0x1400cc114
mov eax, dword [rsp + 0x30]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x38]
jb 0x1400cc114
mov eax, dword [rsp + 0x40]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x48]
jb 0x1400cc114
mov eax, dword [rsp + 0x50]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x58]
jb 0x1400cc114
mov eax, dword [rsp + 0x60]
cmp bx, ax
jb 0x1400cc285
cmp bx, word [rsp + 0x68]
jae 0x1400cc285
jmp 0x1400cc114
cmp bx, word [rsp + 0x70]
jae 0x1400cc27b
movzx r8d, bx
sub r8d, 0xff10
jmp 0x1400cc27f
or r8d, 0xffffffff
cmp r8d, 0xffffffff
jne 0x1400cc2b2
lea eax, [rbx - 0x41]
cmp ax, 0x19
jbe 0x1400cc29d
lea eax, [rbx - 0x61]
cmp ax, 0x19
jbe 0x1400cc29d
or r8d, 0xffffffff
jmp 0x1400cc2b2
lea eax, [rbx - 0x61]
movzx r8d, bx
cmp ax, 0x19
ja 0x1400cc2ae
sub r8d, 0x20
add r8d, 0xffffffc9
cmp r8d, 0xffffffff
je 0x1400cc336
cmp r8d, r15d
jae 0x1400cc336
or ebp, edx
cmp r14, r9
jb 0x1400cc2d3
jne 0x1400cc2ce
mov eax, r8d
cmp rax, r11
jbe 0x1400cc2d3
or ebp, 4
jmp 0x1400cc2e0
mov rcx, r10
imul rcx, r14
mov r14d, r8d
add r14, rcx
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cc2fa
cmp rax, qword [rdi + 8]
jbe 0x1400cc2fa
movzx ebx, r12w
jmp 0x1400cc324
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cc2f4
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
mov eax, 0xffff
cmp dx, ax
je 0x1400cc32f
movzx ebx, dx
mov edx, 8
mov r8d, 0xff10
jmp 0x1400cc0d8
mov edx, 8
jmp 0x1400cc2f4
dec qword [rdi + 0x10]
mov rax, qword [rdi + 0x10]
mov r13, qword [rsp + 0x80]
cmp qword [rdi + 8], r12
je 0x1400cc352
cmp rax, qword [rdi + 8]
ja 0x1400cc373
sub bx, si
mov eax, 0xfffd
cmp bx, ax
ja 0x1400cc373
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x1400cc373
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
test dl, bpl
jne 0x1400cc3a7
cmp r13, qword [rdi + 0x10]
je 0x1400cc385
mov rax, qword [rdi + 0x18]
mov byte [rax], r12b
cmp byte [rsp + 0xa0], r12b
je 0x1400cbb96
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400cbb96
mov rdx, r14
mov ecx, ebp
call fcn.140001640
test al, al
je 0x1400cc443
call fcn.1400033cd
mov dword [rax], 0x22
test sil, bpl
jne 0x1400cc3cf
or r14, 0xffffffffffffffff
jmp 0x1400cc44c
test bpl, 2
je 0x1400cc40c
cmp byte [rsp + 0xa0], r12b
je 0x1400cc3ee
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cc400
cmp qword [rdi + 0x10], r12
jne 0x1400cc400
mov byte [rax], r12b
movabs rax, 0x8000000000000000
jmp 0x1400cc47a
cmp byte [rsp + 0xa0], r12b
je 0x1400cc425
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cc437
cmp qword [rdi + 0x10], r12
jne 0x1400cc437
mov byte [rax], r12b
movabs rax, 0x7fffffffffffffff
jmp 0x1400cc47a
test bpl, 2
je 0x1400cc44c
neg r14
cmp byte [rsp + 0xa0], r12b
je 0x1400cc465
mov rcx, qword [rsp + 0x88]
and dword [rcx + 0x3a8], 0xfffffffd
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400cc477
cmp qword [rdi + 0x10], r12
jne 0x1400cc477
mov byte [rcx], r12b
mov rax, r14
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret