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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov r12, qword [rcx]
mov rsi, r8
mov r14, qword [r8 + 0x60]
xor r15d, r15d
movsxd rbp, edx
mov rdx, rcx
mov qword [rsp + 0x50], r12
mov rbx, qword [r12 + 0x10]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], r14
movsxd r8, dword [rbx + 0x90]
mov dword [rsp + 0x44], r8d
cmp dword [rbx + 0x94], r8d
jg 0x1400c0377
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea edx, [r15 + 0xf]
mov rcx, rbx
call fcn.14009a470
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0x44], eax
jmp 0x1400c039e
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
mov qword [rsp + 0x48], rbp
mov edi, 3
nop dword [rax + rax]
mov r8, rsi
mov rcx, r12
call fcn.140107260
dec dword [r12 + 0x44]
mov r13d, dword [rsi + 4]
mov r9d, dword [r12 + 0x38]
mov eax, dword [r12 + 0x44]
inc r9d
mov rbp, qword [rsp + 0xe0]
mov dword [rsp + 0x3c], eax
mov dword [r12 + 0x38], r9d
movzx eax, byte [rsi + 0x40]
mov dword [rsi + 0x34], r9d
imul rsi, rax, 0x68
mov dword [rsp + 0x38], r13d
add rsi, qword [rbp + 8]
mov rax, qword [rsi + 0x28]
movsx ecx, word [rax + 0x3a]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r8 + r8*4]
add eax, eax
sub ecx, eax
movsxd rdx, ecx
cmp rdx, 5
jb 0x1400c042d
sub rdx, 2
jmp 0x1400c0436
cmp rdx, 1
jb 0x1400c0436
dec rdx
cmp r8w, 0x3c
jg 0x1400c0477
add rdx, 8
movsx ecx, r8w
cmp r8w, 3
jl 0x1400c0454
add ecx, 0xfffffffd
shl rdx, cl
jmp 0x1400c045e
mov eax, edi
sub eax, ecx
movzx ecx, al
shr rdx, cl
cmp rdx, 0x2710
jae 0x1400c046e
mov edx, 0x2710
jmp 0x1400c047c
cmp rdx, 0x989680
jbe 0x1400c047c
mov edx, 0x989680
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400c04a2
mov r8d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x4d
mov rcx, rbx
call fcn.14009a470
jmp 0x1400c04d0
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
movsxd rdx, dword [rbx + 0x90]
mov dword [rsp + 0x40], edx
cmp dword [rbx + 0x94], edx
jg 0x1400c0500
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.14009a470
mov dword [rsp + 0x40], eax
jmp 0x1400c052e
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r15
mov rdi, qword [rbp + 0x90]
movsxd rax, dword [rbp + 0x84]
imul rbp, rax, 0x38
add rbp, rdi
cmp rdi, rbp
jae 0x1400c0601
mov r14d, dword [rsp + 0x3c]
lea rbx, [fcn.140091a30]
mov r13d, 3
lea r15, [0x1400ea540]
test byte [rdi + 0x12], 2
mov rdx, qword [rdi]
jne 0x1400c05e2
movzx ecx, byte [rsi + 0x44]
test cl, 0x40
jne 0x1400c05e2
mov eax, dword [rdx + 4]
and eax, 1
test cl, 8
je 0x1400c058e
test eax, eax
je 0x1400c05e2
mov eax, dword [rsi + 0x4c]
cmp dword [rdx + 0x34], eax
jmp 0x1400c0590
test eax, eax
jne 0x1400c05e2
mov eax, dword [rsi + 0x4c]
movzx ecx, r13w
mov word [rsp + 0x84], cx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x88], eax
test rdx, rdx
je 0x1400c05cc
lea rcx, [rsp + 0x60]
call fcn.140118230
mov rdx, qword [rdi]
movzx ecx, word [rsp + 0x84]
test cx, cx
je 0x1400c05e2
mov r9d, reloc.WS2_32.dll_recv
mov r8d, r14d
mov rcx, r12
call fcn.1400ca650
add rdi, 0x38
cmp rdi, rbp
jb 0x1400c0565
mov rbx, qword [rsp + 0x58]
xor r15d, r15d
mov r14, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x38]
test dword [r14 + 0x38], 0x100
je 0x1400c073b
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x1400c0625
inc dword [r12 + 0x38]
mov edi, dword [r12 + 0x38]
jmp 0x1400c0637
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov edi, dword [r12 + rax*4 + 0xe0]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400c0660
mov r9d, edi
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov edx, 0x87
mov rcx, rbx
call fcn.14009a470
jmp 0x1400c068e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rsi, qword [rsp + 0xf0]
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsi + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x1400c06c1
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0xb4
mov rcx, rbx
call fcn.14009a470
mov edx, eax
jmp 0x1400c06ef
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1400c0713
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
test edi, edi
je 0x1400c089f
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x1400c089f
mov dword [r12 + rax*4 + 0xe0], edi
inc byte [r12 + 0x1f]
jmp 0x1400c089f
movzx ebp, word [r14 + 0x18]
mov r13, qword [r14 + 0x20]
cmp ebp, 1
jne 0x1400c0773
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x1400c075f
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x1400c07a3
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0xe0]
jmp 0x1400c07a3
mov ecx, dword [r12 + 0x28]
mov r14d, dword [r12 + 0x2c]
cmp ebp, ecx
jg 0x1400c0793
lea eax, [r14 + rbp]
sub ecx, ebp
mov dword [r12 + 0x2c], eax
mov dword [r12 + 0x28], ecx
jmp 0x1400c07a3
mov eax, dword [r12 + 0x38]
lea r14d, [rax + 1]
add eax, ebp
mov dword [r12 + 0x38], eax
mov rdi, r15
test ebp, ebp
je 0x1400c07dd
mov r12d, dword [rsp + 0x38]
mov esi, r14d
mov rax, qword [r13 + 8]
mov r8d, r12d
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
mov dword [rsp + 0x20], esi
movsx r9d, word [rax + rdi*2]
call fcn.1400c6c50
inc esi
inc rdi
cmp rdi, rbp
jl 0x1400c07b2
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xf0]
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsi + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x1400c0814
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov edx, 0xb4
mov rcx, rbx
call fcn.14009a470
mov edx, eax
xor r15d, r15d
jmp 0x1400c0846
lea rcx, [rdx + rdx*2]
xor r15d, r15d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1400c0866
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebp
cmp ebp, 1
jne 0x1400c0889
test r14d, r14d
je 0x1400c089a
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x1400c089a
mov dword [r12 + rax*4 + 0xe0], r14d
inc byte [r12 + 0x1f]
jmp 0x1400c089a
cmp ebp, dword [r12 + 0x28]
jle 0x1400c089a
mov dword [r12 + 0x28], ebp
mov dword [r12 + 0x2c], r14d
mov r14, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400c08be
mov r8d, edx
mov rdx, rbx
call fcn.1400adf90
jmp 0x1400c08ce
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rdi, dword [rsp + 0x40]
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsi + 4]
lea edx, [rdi + 1]
cmp dword [rbx + 0x94], ecx
jg 0x1400c0900
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x27
mov rcx, rbx
call fcn.14009a470
jmp 0x1400c092e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400c0946
lea rax, [0x1401661a0]
jmp 0x1400c0955
mov rax, qword [rbx + 0x88]
lea rcx, [rdi + rdi*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
and dword [r14 + 0x38], 0xffbfffff
mov rax, qword [r12]
test dword [rax + 0x60], 0x100000
jne 0x1400c0a35
mov ebp, dword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
inc ebp
mov rdx, qword [rsp + 0xe0]
inc rdi
mov dword [rsp + 0xe8], ebp
mov qword [rsp + 0x48], rdi
movzx r10d, byte [rdx + 0x40]
cmp ebp, r10d
jge 0x1400c0a2a
mov r9, qword [rdx + 8]
mov r12, qword [rsp + 0xf8]
imul rax, rdi, 0x70
add rax, 0x3c0
add rax, rdx
nop dword [rax]
movzx ecx, byte [rax - 0x20]
lea rsi, [rax - 0x60]
imul rdx, rcx, 0x68
mov qword [rsp + 0xf0], rsi
test byte [rdx + r9 + 0x44], 0x48
jne 0x1400c09fb
mov r14, qword [rax]
test r14, r14
je 0x1400c09fb
test qword [r14], r12
jne 0x1400c09fb
mov ecx, dword [r14 + 0x38]
and ecx, 0x400004
cmp ecx, 0x400000
je 0x1400c0a09
inc ebp
inc rdi
add rax, 0x70
cmp rdi, r10
jl 0x1400c09c0
mov r12, qword [rsp + 0x50]
cmp ebp, r10d
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0xe8], ebp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], r14
mov edi, 3
jl 0x1400c03b0
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400c0a4c
mov dword [0x1401661a8], edx
jmp 0x1400c0a60
movsxd rax, dword [rsp + 0x44]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret