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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rcx + 0x10]
xor esi, esi
mov dword [rax + 8], esi
mov r13d, r9d
mov dword [rax - 0x38], esi
mov r12d, r8d
mov rbp, rdx
mov rdi, rcx
mov r14d, esi
mov r15d, esi
test rbx, rbx
je 0x14005b97f
test rdx, rdx
je 0x14005b97f
movzx eax, byte [rdx]
mov dword [rsp + 0x44], eax
add eax, 0xffffffed
cmp eax, 0x81
ja case.0x14005b68c.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x5b9c4]
mov ecx, dword [rdx + rax*4 + 0x5b9a0]
add rcx, rdx
jmp rcx
mov rcx, rbx
call fcn.14003fa60
mov rdx, qword [rbp + 0x10]
mov r9d, r13d
xor r9d, 0x10
mov dword [rsp + 0x80], eax
mov r8d, eax
mov rcx, rdi
call fcn.14005ba50
inc dword [rdi + 0x70]
mov r9d, r13d
mov rdx, qword [rbp + 0x18]
mov r8d, r12d
mov rcx, rdi
call fcn.14005b610
mov eax, dword [rsp + 0x80]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x14005b6ee
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005b6ee
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, rdi
dec eax
mov dword [r8 + 0x64], eax
call fcn.140059860
jmp 0x14005b90e
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14005b610
inc dword [rdi + 0x70]
mov r9d, r13d
mov rdx, qword [rbp + 0x18]
mov r8d, r12d
mov rcx, rdi
call fcn.14005b610
mov rcx, rdi
call fcn.140059860
jmp 0x14005b90e
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14005ba50
jmp 0x14005b90e
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.14005b150
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.14005b150
mov r9d, dword [rsp + 0x44]
mov rcx, rdi
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140054bb0
mov r15d, dword [rsp + 0x40]
jmp 0x14005b906
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.14005b150
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.14005b150
cmp dword [rsp + 0x44], 0x49
mov r9d, esi
mov r8, qword [rbp + 0x18]
mov rcx, rdi
mov rdx, qword [rbp + 0x10]
sete r9b
mov dword [rsp + 0x38], 0x80
add r9d, 0x4e
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140054bb0
mov r15d, dword [rsp + 0x40]
jmp 0x14005b906
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.14005b150
mov edx, dword [rsp + 0x44]
mov dword [rsp + 0x20], esi
jmp 0x14005b8f8
mov r9d, 1
mov dword [rsp + 0x20], r13d
mov rdx, rbp
mov rcx, rdi
call fcn.14005b4d0
jmp 0x14005b90e
mov rcx, rbx
call fcn.14003fa60
test r13d, r13d
mov r9d, eax
mov r8d, eax
mov rdx, rbp
cmovne r9d, r12d
mov rcx, rdi
mov r13d, eax
call fcn.140058bb0
mov r9d, r12d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.14003f920
mov r8, qword [rbx + 0x30]
not r13d
test r13d, r13d
js 0x14005b898
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005b898
mov eax, dword [rbx + 0x3c]
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x14005b90e
mov rcx, rbp
call fcn.140055090
test eax, eax
je 0x14005b8c8
mov r9d, r12d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.14003f920
jmp 0x14005b90e
mov rcx, rbp
call fcn.140055170
test eax, eax
jne 0x14005b90e
lea r8, [rsp + 0x80]
mov rdx, rbp
mov rcx, rdi
call fcn.14005b150
mov ecx, esi
test r13d, r13d
mov edx, 0x2d
setne cl
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov r8d, eax
mov rcx, rbx
call fcn.14003f920
mov r14d, dword [rsp + 0x80]
test r14d, r14d
je 0x14005b944
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x14005b944
mov ecx, esi
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r14d
je 0x14005b940
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14005b925
mov dword [rdi + rdx*4 + 0x24], r14d
inc byte [rdi + 0x1f]
jmp 0x14005b944
mov byte [rax + 6], 1
test r15d, r15d
je 0x14005b97f
movzx ecx, byte [rdi + 0x1f]
cmp cl, 8
jae 0x14005b97f
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r15d
je 0x14005b97b
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14005b960
mov dword [rdi + rcx*4 + 0x24], r15d
inc byte [rdi + 0x1f]
jmp 0x14005b97f
mov byte [rax + 6], 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret