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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140300b88]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov rbx, rcx
mov edi, r14d
cmp byte [rcx + 0x13], dil
je 0x1400f46d8
mov eax, dword [rcx + 0x2c]
test eax, eax
jne 0x1400f4ab7
mov qword [rsp + 0x78], rsi
cmp qword [rcx + 0x138], rdi
jne 0x1400f4a0c
cmp byte [rcx + 0x14], dil
jne 0x1400f4a0c
mov esi, 1
mov dword [rbp - 0x20], esi
nop dword [rax]
movzx eax, byte [rbx + 0x15]
mov edi, r14d
cmp al, sil
jb 0x1400f4710
cmp al, 5
jne 0x1400f4748
cmp byte [rbx + 0x11], dil
jne 0x1400f4728
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400f4732
cmp byte [rbx + 0x15], 5
je 0x1400f4748
mov byte [rbx + 0x15], sil
cmp edi, 5
jne 0x1400f4748
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x1400f4700
test edi, edi
jne 0x1400f4aa2
cmp byte [rbx + 0x15], sil
ja 0x1400f476f
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1400aaf80
mov edi, eax
test eax, eax
jne 0x1400f4aa2
mov esi, dword [rbp - 0x20]
test esi, esi
je 0x1400f48ab
cmp byte [rbx + 0x12], r14b
je 0x1400f478f
mov rcx, rbx
mov edi, 0x308
call fcn.1400b6df0
jmp 0x1400f4ab0
movzx eax, byte [rbx + 0x15]
mov edi, r14d
cmp al, 4
jb 0x1400f479e
cmp al, 5
jne 0x1400f47bf
cmp byte [rbx + 0x11], dil
jne 0x1400f47b9
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400f47bf
mov byte [rbx + 0x15], 4
jmp 0x1400f47c7
test edi, edi
jne 0x1400f4aa2
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
jne 0x1400f484c
mov rsi, qword [rbx]
lea r9, [rbp - 0x18]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + 0x38]
mov edi, eax
test eax, eax
jne 0x1400f484c
cmp dword [rbp - 0x18], r14d
je 0x1400f484c
mov r8, qword [rbx + 0x50]
lea rax, [rbp - 0x20]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x20], r14d
call qword [rsi + 0x28]
mov edi, eax
test eax, eax
jne 0x1400f484c
test byte [rbp - 0x20], 1
je 0x1400f484c
mov edi, recv
lea r9, [0x140256b84]
mov ecx, edi
lea rdx, str.cannot_open_file_at_line__d_of___.10s_
mov r8d, 0xc4ad
call fcn.14006be40
mov rcx, qword [rbx + 0x50]
call fcn.1400f2270
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
je 0x1400f4876
mov rcx, rbx
call fcn.1400b5910
mov edi, eax
test eax, eax
jne 0x1400f488d
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1400b6510
mov edi, eax
mov byte [rbx + 0x14], r14b
jmp 0x1400f4889
cmp byte [rbx + 8], r14b
jne 0x1400f4889
mov edx, 1
mov rcx, rbx
call fcn.1400b5a70
test edi, edi
je 0x1400f48ab
movzx eax, dil
cmp eax, 0xd
je 0x1400f489f
cmp eax, 0xa
jne 0x1400f4a9e
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
jmp 0x1400f4a9e
cmp byte [rbx + 0x10], r14b
jne 0x1400f4949
cmp byte [rbx + 0x1b], r14b
je 0x1400f4949
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], r14d
mov rcx, rbx
call fcn.1400b52d0
mov edi, eax
test eax, eax
jne 0x1400f4aa2
cmp dword [rbp - 0x20], r14d
jbe 0x1400f4908
mov rcx, qword [rbx + 0x48]
lea r9d, [rdi + 0x18]
lea r8d, [rdi + 0x10]
lea rdx, [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edi, eax
test eax, eax
je 0x1400f490f
cmp eax, 0x20a
jne 0x1400f4aa2
jmp 0x1400f490f
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x18]
jne 0x1400f4929
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x10]
je 0x1400f4949
mov rcx, rbx
call fcn.1400b6ce0
cmp byte [rbx + 0x1a], r14b
je 0x1400f4949
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, r14d
cmp byte [rbx + 0x10], dil
jne 0x1400f4a0c
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x1400f496f
cmp word [rax + 0x3c], di
jl 0x1400f496f
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x1400f49a6
mov rcx, qword [rbx + 0x48]
mov rax, r14
mov qword [rbp - 0x18], rax
mov r8, qword [rcx]
test r8, r8
je 0x1400f4994
lea rdx, [rbp - 0x18]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x1400f4a0c
mov rax, qword [rbp - 0x18]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400f49b4
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x140]
mov rcx, r10
test eax, eax
jne 0x1400f49df
call qword [r10 + 0x30]
mov edi, eax
cmp eax, 0x170a
mov eax, r14d
cmove edi, r14d
mov dword [rbp - 0x20], eax
jmp 0x1400f49ec
lea r9, [rbp - 0x20]
call qword [r10 + 0x38]
mov edi, eax
mov eax, dword [rbp - 0x20]
test edi, edi
jne 0x1400f4a0c
test eax, eax
je 0x1400f4a02
xor edx, edx
mov rcx, rbx
call fcn.1400f4070
mov edi, eax
jmp 0x1400f4a0c
cmp byte [rbx + 9], 5
jne 0x1400f4a0c
mov byte [rbx + 9], r14b
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x1400f4a86
mov dword [rbp - 0x20], r14d
call fcn.140116b80
mov rcx, qword [rbx + 0x138]
lea rdx, [rbp - 0x20]
call fcn.140116290
mov edi, eax
test eax, eax
jne 0x1400f4a3d
cmp dword [rbp - 0x20], r14d
je 0x1400f4a86
inc dword [rbx + 0x84]
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x1400f4a60
nop dword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1400f4a50
mov rcx, qword [rbx + 0x130]
xor edx, edx
call fcn.1400f59a0
cmp byte [rbx + 0x1a], r14b
je 0x1400f4a86
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x14], r14b
jne 0x1400f4a9e
test edi, edi
jne 0x1400f4aa2
lea rdx, [rbx + 0x1c]
mov rcx, rbx
call fcn.1400b52d0
mov edi, eax
test edi, edi
je 0x1400f4aac
mov rcx, rbx
call fcn.1400b6df0
jmp 0x1400f4ab0
mov byte [rbx + 0x14], 1
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140208e10
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret