Function at 0x1400f0190
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 0x1400f0217
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea edx, [r15 + 0xf]
mov rcx, rbx
call fcn.1400ca310
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0x44], eax
jmp 0x1400f023e
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], send
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.140137100
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 0x1400f02cd
sub rdx, 2
jmp 0x1400f02d6
cmp rdx, 1
jb 0x1400f02d6
dec rdx
cmp r8w, 0x3c
jg 0x1400f0317
add rdx, 8
movsx ecx, r8w
cmp r8w, 3
jl 0x1400f02f4
add ecx, 0xfffffffd
shl rdx, cl
jmp 0x1400f02fe
mov eax, edi
sub eax, ecx
movzx ecx, al
shr rdx, cl
cmp rdx, 0x2710
jae 0x1400f030e
mov edx, 0x2710
jmp 0x1400f031c
cmp rdx, 0x989680
jbe 0x1400f031c
mov edx, 0x989680
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400f0342
mov r8d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x4d
mov rcx, rbx
call fcn.1400ca310
jmp 0x1400f0370
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 0x1400f03a0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.1400ca310
mov dword [rsp + 0x40], eax
jmp 0x1400f03ce
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 0x1400f04a1
mov r14d, dword [rsp + 0x3c]
lea rbx, [fcn.1400c18d0]
mov r13d, 3
lea r15, [0x14011a3e0]
test byte [rdi + 0x12], 2
mov rdx, qword [rdi]
jne 0x1400f0482
movzx ecx, byte [rsi + 0x44]
test cl, 0x40
jne 0x1400f0482
mov eax, dword [rdx + 4]
and eax, 1
test cl, 8
je 0x1400f042e
test eax, eax
je 0x1400f0482
mov eax, dword [rsi + 0x4c]
cmp dword [rdx + 0x34], eax
jmp 0x1400f0430
test eax, eax
jne 0x1400f0482
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 0x1400f046c
lea rcx, [rsp + 0x60]
call fcn.1401480d0
mov rdx, qword [rdi]
movzx ecx, word [rsp + 0x84]
test cx, cx
je 0x1400f0482
mov r9d, reloc.WS2_32.dll_recv
mov r8d, r14d
mov rcx, r12
call fcn.1400fa4f0
add rdi, 0x38
cmp rdi, rbp
jb 0x1400f0405
mov rbx, qword [rsp + 0x58]
xor r15d, r15d
mov r14, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x38]
test dword [r14 + 0x38], 0x100
je 0x1400f05db
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x1400f04c5
inc dword [r12 + 0x38]
mov edi, dword [r12 + 0x38]
jmp 0x1400f04d7
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 0x1400f0500
mov r9d, edi
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov edx, 0x87
mov rcx, rbx
call fcn.1400ca310
jmp 0x1400f052e
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 0x1400f0561
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0xb4
mov rcx, rbx
call fcn.1400ca310
mov edx, eax
jmp 0x1400f058f
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 0x1400f05b3
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 0x1400f073f
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x1400f073f
mov dword [r12 + rax*4 + 0xe0], edi
inc byte [r12 + 0x1f]
jmp 0x1400f073f
movzx ebp, word [r14 + 0x18]
mov r13, qword [r14 + 0x20]
cmp ebp, 1
jne 0x1400f0613
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x1400f05ff
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x1400f0643
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0xe0]
jmp 0x1400f0643
mov ecx, dword [r12 + 0x28]
mov r14d, dword [r12 + 0x2c]
cmp ebp, ecx
jg 0x1400f0633
lea eax, [r14 + rbp]
sub ecx, ebp
mov dword [r12 + 0x2c], eax
mov dword [r12 + 0x28], ecx
jmp 0x1400f0643
mov eax, dword [r12 + 0x38]
lea r14d, [rax + 1]
add eax, ebp
mov dword [r12 + 0x38], eax
mov rdi, r15
test ebp, ebp
je 0x1400f067d
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.1400f6af0
inc esi
inc rdi
cmp rdi, rbp
jl 0x1400f0652
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 0x1400f06b4
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov edx, 0xb4
mov rcx, rbx
call fcn.1400ca310
mov edx, eax
xor r15d, r15d
jmp 0x1400f06e6
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 0x1400f0706
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 0x1400f0729
test r14d, r14d
je 0x1400f073a
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x1400f073a
mov dword [r12 + rax*4 + 0xe0], r14d
inc byte [r12 + 0x1f]
jmp 0x1400f073a
cmp ebp, dword [r12 + 0x28]
jle 0x1400f073a
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 0x1400f075e
mov r8d, edx
mov rdx, rbx
call fcn.1400dde30
jmp 0x1400f076e
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 0x1400f07a0
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x27
mov rcx, rbx
call fcn.1400ca310
jmp 0x1400f07ce
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 0x1400f07e6
lea rax, [0x140201350]
jmp 0x1400f07f5
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 0x1400f08d5
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 0x1400f08ca
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 0x1400f089b
mov r14, qword [rax]
test r14, r14
je 0x1400f089b
test qword [r14], r12
jne 0x1400f089b
mov ecx, dword [r14 + 0x38]
and ecx, 0x400004
cmp ecx, 0x400000
je 0x1400f08a9
inc ebp
inc rdi
add rax, 0x70
cmp rdi, r10
jl 0x1400f0860
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 0x1400f0250
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400f08ec
mov dword [0x140201358], edx
jmp 0x1400f0900
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