Function at 0x180120810
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 [0x1801eab50]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov rbx, rcx
mov edi, r14d
cmp byte [rcx + 0x14], dil
je 0x180120848
mov eax, dword [rcx + 0x30]
test eax, eax
jne 0x180120c1b
mov qword [rsp + 0x78], rsi
cmp qword [rcx + 0x138], rdi
jne 0x180120b68
cmp byte [rcx + 0x15], dil
jne 0x180120b68
mov esi, 1
mov dword [rbp - 0x20], esi
nop dword [rax]
movzx eax, byte [rbx + 0x16]
mov edi, r14d
cmp al, sil
jb 0x180120880
cmp al, 5
jne 0x1801208b8
cmp byte [rbx + 0x12], dil
jne 0x180120898
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1801208a2
cmp byte [rbx + 0x16], 5
je 0x1801208b8
mov byte [rbx + 0x16], sil
cmp edi, 5
jne 0x1801208b8
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x180120870
test edi, edi
jne 0x180120c02
cmp byte [rbx + 0x16], sil
ja 0x1801208df
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1800cfde0
mov edi, eax
test eax, eax
jne 0x180120c02
mov esi, dword [rbp - 0x20]
test esi, esi
je 0x180120a07
cmp byte [rbx + 0x13], r14b
je 0x1801208ff
mov rcx, rbx
mov edi, 0x308
call fcn.1800ddba0
jmp 0x180120c14
movzx eax, byte [rbx + 0x16]
mov edi, r14d
cmp al, 4
jb 0x18012090e
cmp al, 5
jne 0x18012092f
cmp byte [rbx + 0x12], dil
jne 0x180120929
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x18012092f
mov byte [rbx + 0x16], 4
jmp 0x180120937
test edi, edi
jne 0x180120c02
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
jne 0x1801209a8
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 0x1801209a8
cmp dword [rbp - 0x18], r14d
je 0x1801209a8
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 0x1801209a8
test byte [rbp - 0x20], 1
je 0x1801209a8
mov ecx, 0xbfc8
call fcn.1800f3400
mov rcx, qword [rbx + 0x50]
mov edi, eax
call fcn.18011e6e0
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
je 0x1801209d2
mov rcx, rbx
call fcn.1800dc7a0
mov edi, eax
test eax, eax
jne 0x1801209e9
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1800dd2d0
mov edi, eax
mov byte [rbx + 0x15], r14b
jmp 0x1801209e5
cmp byte [rbx + 8], r14b
jne 0x1801209e5
mov edx, 1
mov rcx, rbx
call fcn.1800dc900
test edi, edi
je 0x180120a07
movzx eax, dil
cmp eax, 0xd
je 0x1801209fb
cmp eax, 0xa
jne 0x180120bfe
mov dword [rbx + 0x30], edi
mov byte [rbx + 0x15], 6
jmp 0x180120bfe
cmp byte [rbx + 0x11], r14b
jne 0x180120aa5
cmp byte [rbx + 0x1c], r14b
je 0x180120aa5
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], r14d
mov rcx, rbx
call fcn.1800dc190
mov edi, eax
test eax, eax
jne 0x180120c02
cmp dword [rbp - 0x20], r14d
jbe 0x180120a64
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 0x180120a6b
cmp eax, 0x20a
jne 0x180120c02
jmp 0x180120a6b
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x18]
jne 0x180120a85
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x10]
je 0x180120aa5
mov rcx, rbx
call fcn.1800dda90
cmp byte [rbx + 0x1b], r14b
je 0x180120aa5
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 + 0x11], dil
jne 0x180120b68
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x180120acb
cmp word [rax + 0x3c], di
jl 0x180120acb
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x180120b02
mov rcx, qword [rbx + 0x48]
mov rax, r14
mov qword [rbp - 0x18], rax
mov r8, qword [rcx]
test r8, r8
je 0x180120af0
lea rdx, [rbp - 0x18]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x180120b68
mov rax, qword [rbp - 0x18]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x180120b10
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x140]
mov rcx, r10
test eax, eax
jne 0x180120b3b
call qword [r10 + 0x30]
mov edi, eax
cmp eax, 0x170a
mov eax, r14d
cmove edi, r14d
mov dword [rbp - 0x20], eax
jmp 0x180120b48
lea r9, [rbp - 0x20]
call qword [r10 + 0x38]
mov edi, eax
mov eax, dword [rbp - 0x20]
test edi, edi
jne 0x180120b68
test eax, eax
je 0x180120b5e
xor edx, edx
mov rcx, rbx
call fcn.1801201e0
mov edi, eax
jmp 0x180120b68
cmp byte [rbx + 9], 5
jne 0x180120b68
mov byte [rbx + 9], r14b
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x180120be6
mov dword [rbp - 0x20], r14d
call fcn.180144320
mov rcx, qword [rbx + 0x138]
lea rdx, [rbp - 0x20]
call fcn.180143a30
mov edi, eax
test eax, eax
jne 0x180120b99
cmp dword [rbp - 0x20], r14d
je 0x180120be6
inc dword [rbx + 0x84]
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x180120bc0
nop dword [rax + rax]
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x180120bb0
mov rcx, qword [rbx + 0x130]
xor edx, edx
call fcn.180121cd0
cmp byte [rbx + 0x1b], r14b
je 0x180120be6
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x15], r14b
jne 0x180120bfe
test edi, edi
jne 0x180120c02
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.1800dc190
mov edi, eax
test edi, edi
je 0x180120c0c
mov rcx, rbx
call fcn.1800ddba0
jmp 0x180120c14
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18015fd80
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret