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

Disassembly:
jmp 0x1400cbbb0
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 0x1400cbbe6
cmp qword [rdx + 0x18], r12
jne 0x1400cbc0f
call fcn.1400033cd
mov dword [rax], socket
call fcn.140004845
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cbc08
cmp qword [rdi + 0x10], r12
jne 0x1400cbc08
mov byte [rax], r12b
xor eax, eax
jmp 0x1400cc4da
test r8d, r8d
je 0x1400cbc1d
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x1400cbbe6
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 0x1400cbc5b
cmp rax, qword [rdi + 8]
jbe 0x1400cbc5b
movzx ebx, r12w
jmp 0x1400cbc7b
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbc78
movzx ebx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp bx, bp
jne 0x1400cbc7b
mov ebx, r12d
mov edx, 8
movzx ecx, bx
call fcn.1400012df
test eax, eax
je 0x1400cbcdb
mov r13d, 1
add qword [rdi + 0x10], r13
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cbca6
cmp rax, qword [rdi + 8]
ja 0x1400cbcc6
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbcc6
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
movzx ebx, dx
cmp dx, bp
jne 0x1400cbcca
movzx ebx, r12w
mov edx, 8
movzx ecx, bx
call fcn.1400012df
test eax, eax
jne 0x1400cbc92
test sil, sil
mov ebp, r12d
setne bpl
cmp bx, 0x2d
jne 0x1400cbcf0
or ebp, 2
jmp 0x1400cbcf6
cmp bx, 0x2b
jne 0x1400cbd3c
mov esi, 1
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cbd15
cmp rax, qword [rdi + 8]
jbe 0x1400cbd15
movzx ebx, r12w
jmp 0x1400cbd41
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cbd0f
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
mov eax, 0xffff
cmp dx, ax
je 0x1400cbd0f
movzx ebx, dx
jmp 0x1400cbd41
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 0x1400cc11d
cmp bx, cx
jb 0x1400cbfff
cmp bx, 0x3a
jae 0x1400cbe4f
movzx eax, bx
sub eax, ecx
jmp 0x1400cbffa
cmp bx, r8w
jae 0x1400cbfe8
cmp bx, dx
jb 0x1400cbfff
mov ecx, 0x66a
cmp bx, cx
jae 0x1400cbe76
movzx eax, bx
sub eax, edx
jmp 0x1400cbffa
cmp bx, r9w
jb 0x1400cbfff
mov ecx, 0x6fa
cmp bx, cx
jae 0x1400cbe95
movzx eax, bx
sub eax, r9d
jmp 0x1400cbffa
cmp bx, r10w
jb 0x1400cbfff
mov ecx, 0x970
cmp bx, cx
jae 0x1400cbeb4
movzx eax, bx
sub eax, r10d
jmp 0x1400cbffa
cmp bx, r11w
jb 0x1400cbfff
mov ecx, 0x9f0
cmp bx, cx
jae 0x1400cbed3
movzx eax, bx
sub eax, r11d
jmp 0x1400cbffa
cmp bx, ax
jb 0x1400cbfff
cmp bx, word [rsp + 0xe8]
jae 0x1400cbef3
movzx eax, bx
sub eax, 0xa66
jmp 0x1400cbffa
mov ecx, dword [rsp + 0x24]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x54]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x2c]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x6c]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x34]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x5c]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x3c]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x78]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x44]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x64]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x4c]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x74]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x20]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x28]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x30]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x38]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x40]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x48]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x50]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x58]
jb 0x1400cbe45
mov ecx, dword [rsp + 0x60]
cmp bx, cx
jb 0x1400cbfff
cmp bx, word [rsp + 0x68]
jae 0x1400cbfff
jmp 0x1400cbe45
cmp bx, word [rsp + 0x70]
jae 0x1400cbff7
movzx eax, bx
sub eax, r8d
jmp 0x1400cbffa
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1400cc028
lea eax, [rbx - 0x41]
cmp ax, 0x19
jbe 0x1400cc016
lea eax, [rbx - 0x61]
cmp ax, 0x19
jbe 0x1400cc016
or eax, 0xffffffff
jmp 0x1400cc028
lea eax, [rbx - 0x61]
cmp ax, 0x19
movzx eax, bx
ja 0x1400cc025
sub eax, 0x20
add eax, 0xffffffc9
test eax, eax
je 0x1400cc040
test r15d, r15d
jne 0x1400cc11d
mov r15d, 0xa
jmp 0x1400cc11d
add qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], r12
je 0x1400cc05a
cmp rax, qword [rdi + 8]
jbe 0x1400cc05a
movzx ecx, r12w
jmp 0x1400cc0d6
mov rdx, qword [rdi]
mov rax, qword [rdx + 0x10]
cmp rax, qword [rdx + 8]
je 0x1400cc0d3
movzx ecx, word [rax]
mov r8d, 0xffff
add rax, 2
mov qword [rdx + 0x10], rax
cmp cx, r8w
je 0x1400cc0d3
lea eax, [rcx - 0x58]
lea edx, [r8 - 0x20]
test dx, ax
jne 0x1400cc0d6
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 0x1400cc0b0
cmp rax, qword [rdi + 8]
jbe 0x1400cc0b0
movzx ebx, r12w
jmp 0x1400cc117
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cc0aa
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp dx, r8w
je 0x1400cc0aa
movzx ebx, dx
jmp 0x1400cc117
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 0x1400cc0f6
cmp rax, qword [rdi + 8]
ja 0x1400cc117
sub cx, si
mov eax, 0xfffd
cmp cx, ax
ja 0x1400cc117
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x1400cc117
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 0x1400cc2e5
cmp bx, 0x3a
jae 0x1400cc154
movzx r8d, bx
sub r8d, r13d
jmp 0x1400cc2df
cmp bx, r8w
jae 0x1400cc2c7
mov eax, 0x660
cmp bx, ax
jb 0x1400cc2e5
lea ecx, [rax + 0xa]
cmp bx, cx
jae 0x1400cc180
movzx r8d, bx
sub r8d, eax
jmp 0x1400cc2df
mov eax, 0x6f0
cmp bx, ax
jb 0x1400cc2e5
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc174
mov eax, 0x966
cmp bx, ax
jb 0x1400cc2e5
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc174
lea eax, [rcx + 0x76]
cmp bx, ax
jb 0x1400cc2e5
lea ecx, [rax + 0xa]
cmp bx, cx
jb 0x1400cc174
lea eax, [rcx + 0x76]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0xe8]
jb 0x1400cc174
mov eax, dword [rsp + 0x24]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x54]
jb 0x1400cc174
mov eax, dword [rsp + 0x2c]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x6c]
jb 0x1400cc174
mov eax, dword [rsp + 0x34]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x5c]
jb 0x1400cc174
mov eax, dword [rsp + 0x3c]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x78]
jb 0x1400cc174
mov eax, dword [rsp + 0x44]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x64]
jb 0x1400cc174
mov eax, dword [rsp + 0x4c]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x74]
jb 0x1400cc174
mov eax, dword [rsp + 0x20]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x28]
jb 0x1400cc174
mov eax, dword [rsp + 0x30]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x38]
jb 0x1400cc174
mov eax, dword [rsp + 0x40]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x48]
jb 0x1400cc174
mov eax, dword [rsp + 0x50]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x58]
jb 0x1400cc174
mov eax, dword [rsp + 0x60]
cmp bx, ax
jb 0x1400cc2e5
cmp bx, word [rsp + 0x68]
jae 0x1400cc2e5
jmp 0x1400cc174
cmp bx, word [rsp + 0x70]
jae 0x1400cc2db
movzx r8d, bx
sub r8d, 0xff10
jmp 0x1400cc2df
or r8d, 0xffffffff
cmp r8d, 0xffffffff
jne 0x1400cc312
lea eax, [rbx - 0x41]
cmp ax, 0x19
jbe 0x1400cc2fd
lea eax, [rbx - 0x61]
cmp ax, 0x19
jbe 0x1400cc2fd
or r8d, 0xffffffff
jmp 0x1400cc312
lea eax, [rbx - 0x61]
movzx r8d, bx
cmp ax, 0x19
ja 0x1400cc30e
sub r8d, 0x20
add r8d, 0xffffffc9
cmp r8d, 0xffffffff
je 0x1400cc396
cmp r8d, r15d
jae 0x1400cc396
or ebp, edx
cmp r14, r9
jb 0x1400cc333
jne 0x1400cc32e
mov eax, r8d
cmp rax, r11
jbe 0x1400cc333
or ebp, 4
jmp 0x1400cc340
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 0x1400cc35a
cmp rax, qword [rdi + 8]
jbe 0x1400cc35a
movzx ebx, r12w
jmp 0x1400cc384
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x1400cc354
movzx edx, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
mov eax, 0xffff
cmp dx, ax
je 0x1400cc38f
movzx ebx, dx
mov edx, 8
mov r8d, 0xff10
jmp 0x1400cc138
mov edx, 8
jmp 0x1400cc354
dec qword [rdi + 0x10]
mov rax, qword [rdi + 0x10]
mov r13, qword [rsp + 0x80]
cmp qword [rdi + 8], r12
je 0x1400cc3b2
cmp rax, qword [rdi + 8]
ja 0x1400cc3d3
sub bx, si
mov eax, 0xfffd
cmp bx, ax
ja 0x1400cc3d3
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x1400cc3d3
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
test dl, bpl
jne 0x1400cc407
cmp r13, qword [rdi + 0x10]
je 0x1400cc3e5
mov rax, qword [rdi + 0x18]
mov byte [rax], r12b
cmp byte [rsp + 0xa0], r12b
je 0x1400cbbf6
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400cbbf6
mov rdx, r14
mov ecx, ebp
call fcn.140001640
test al, al
je 0x1400cc4a3
call fcn.1400033cd
mov dword [rax], 0x22
test sil, bpl
jne 0x1400cc42f
or r14, 0xffffffffffffffff
jmp 0x1400cc4ac
test bpl, 2
je 0x1400cc46c
cmp byte [rsp + 0xa0], r12b
je 0x1400cc44e
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cc460
cmp qword [rdi + 0x10], r12
jne 0x1400cc460
mov byte [rax], r12b
movabs rax, 0x8000000000000000
jmp 0x1400cc4da
cmp byte [rsp + 0xa0], r12b
je 0x1400cc485
mov rax, qword [rsp + 0x88]
and dword [rax + 0x3a8], 0xfffffffd
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400cc497
cmp qword [rdi + 0x10], r12
jne 0x1400cc497
mov byte [rax], r12b
movabs rax, 0x7fffffffffffffff
jmp 0x1400cc4da
test bpl, 2
je 0x1400cc4ac
neg r14
cmp byte [rsp + 0xa0], r12b
je 0x1400cc4c5
mov rcx, qword [rsp + 0x88]
and dword [rcx + 0x3a8], 0xfffffffd
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400cc4d7
cmp qword [rdi + 0x10], r12
jne 0x1400cc4d7
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