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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rcx + 0x1290]
xor r9d, r9d
mov rdi, qword [rcx]
add rbx, 0x3c
movsxd r8, edx
imul rbp, r8, 0x928
imul r8, r8, 0x624
add rbp, rcx
mov dword [rsp + 0x78], r9d
mov qword [rsp + 0x80], rdi
movsxd rax, dword [rbp + 0x38]
mov rsi, qword [rbp + 0x40]
add rbx, r8
mov dword [rbp + 0x48], r9d
lea r12, [rax + rax*4]
shl r12, 4
add r12, rsi
test edx, edx
jne 0x140053899
mov r13d, dword [rcx + 8]
mov edx, dword [rcx + 0x10]
lea ecx, [r9 + 0x40]
call fcn.1400468c0
mov r15d, eax
jmp 0x1400538a0
mov r13d, dword [rcx + 0x10]
mov r15d, r9d
mov ecx, dword [rbx + 0xcc]
mov edx, r13d
call fcn.1400485e0
mov ecx, reloc.WS2_32.dll_recv
mov edx, r13d
cmp eax, ecx
cmovg eax, ecx
mov ecx, eax
call fcn.1400468c0
mov r14d, eax
cmp rsi, r12
jae 0x1400539cd
inc rsi
movsx ecx, word [rsi + 7]
cmp ecx, r15d
jl 0x1400539bc
cmp qword [rsi + 0x27], 0
je 0x1400538f3
add ecx, ecx
lea eax, [r15 + r15*2]
cmp ecx, eax
jl 0x1400539bc
mov r9d, dword [rbp + 0x48]
xor r8d, r8d
test r9d, r9d
jle 0x140053939
movsx r10d, word [rsi + 1]
mov rdx, qword [rbp + 0x50]
nop dword [rax + rax]
movsx eax, word [rdx]
mov ecx, r10d
sub ecx, eax
jns 0x14005391c
neg ecx
cmp ecx, r14d
jge 0x14005392d
movzx eax, byte [rsi]
cmp byte [rdx + 0xd], al
je 0x140053a49
inc r8d
add rdx, 0x48
cmp r8d, r9d
jl 0x140053910
movsx r8d, byte [rsi]
lea rax, [rsp + 0x70]
movsx edx, word [rsi + 1]
lea rcx, [rbp + 0x38]
mov r9, rdi
mov qword [rsp + 0x20], rax
call fcn.14004f900
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x140053b35
mov rdi, qword [rsp + 0x70]
lea rbx, [rsi - 1]
xor eax, eax
mov edx, r13d
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
mov qword [rdi + 0x40], rbx
movzx eax, byte [rsi]
mov byte [rdi + 0xd], al
movzx eax, word [rsi + 1]
mov word [rdi], ax
movsx ecx, word [rsi + 1]
call fcn.1400485e0
mov dword [rdi + 4], eax
mov dword [rdi + 8], eax
mov rdi, qword [rsp + 0x80]
mov qword [rsi + 0x17], rbx
add rsi, 0x50
lea rax, [rsi - 1]
cmp rax, r12
jb 0x1400538d1
mov rdx, qword [rbp + 0x50]
movsxd rax, dword [rbp + 0x48]
lea rcx, [rax + rax*8]
lea rbp, [rdx + rcx*8]
mov rcx, rdx
cmp rdx, rbp
jae 0x140053b31
nop dword [rax]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140053a0e
nop dword [rax]
mov qword [rax + 0x10], rcx
mov rax, qword [rax + 0x18]
cmp rax, qword [rcx + 0x38]
jne 0x140053a00
add rcx, 0x48
cmp rcx, rbp
jb 0x1400539f0
cmp rdx, rbp
jae 0x140053b31
add rdx, 0xc
mov r14d, 1
xor r15d, r15d
nop dword [rax]
mov r8, qword [rdx + 0x2c]
mov edi, r15d
mov esi, r15d
nop word [rax + rax]
test byte [r8], r14b
je 0x140053a66
inc edi
jmp 0x140053a68
mov rax, qword [rdx + 0x38]
lea rcx, [rsi - 1]
mov qword [rsi + 0x17], rax
mov rax, qword [rdx + 0x40]
mov qword [rax + 0x18], rcx
mov qword [rdx + 0x40], rcx
jmp 0x1400539bc
inc esi
mov rcx, qword [r8 + 0x28]
test rcx, rcx
je 0x140053a89
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140053a89
lea rax, [rdx - 0xc]
cmp r9, rax
je 0x140053a89
movzx ebx, r14b
jmp 0x140053a8b
xor bl, bl
mov r10, qword [r8 + 0x20]
test r10, r10
je 0x140053a9a
cmp qword [r10 + 0x10], r15
jne 0x140053a9e
test bl, bl
je 0x140053aef
mov rax, qword [rdx + 0x14]
test bl, bl
je 0x140053aad
mov rax, qword [rdx + 0x1c]
mov r10, rcx
test rax, rax
je 0x140053ad9
movsx r9d, word [rdx - 0xc]
movsx ecx, word [rax]
sub r9d, ecx
jns 0x140053ac2
neg r9d
movsx ecx, word [r10 + 2]
movsx r11d, word [r8 + 2]
sub r11d, ecx
jns 0x140053ad4
neg r11d
cmp r11d, r9d
jge 0x140053add
mov rax, qword [r10 + 0x10]
test bl, bl
je 0x140053aeb
mov qword [rdx + 0x1c], rax
or byte [rax + 0xc], 2
jmp 0x140053aef
mov qword [rdx + 0x14], rax
mov r8, qword [r8 + 0x18]
cmp r8, qword [rdx + 0x2c]
jne 0x140053a40
mov byte [rdx], r15b
test edi, edi
jle 0x140053b10
cmp edi, esi
movzx eax, r15b
cmovge eax, r14d
mov byte [rdx], al
cmp qword [rdx + 0x1c], r15
je 0x140053b20
cmp qword [rdx + 0x14], r15
je 0x140053b20
mov qword [rdx + 0x1c], r15
add rdx, 0x48
lea rax, [rdx - 0xc]
cmp rax, rbp
jb 0x140053a30
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret