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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rcx + 0x10]
xor edi, edi
mov dword [rax + 8], edi
mov r15d, r9d
mov dword [rax - 0x38], edi
mov r14d, r8d
mov rbp, rdx
mov rsi, rcx
mov r12d, edi
test rbx, rbx
je 0x14006394b
test rdx, rdx
je 0x14006394b
mov qword [rax + 0x10], r13
movzx r13d, byte [rdx]
lea eax, [r13 - 0x13]
cmp eax, 0x81
ja case.0x140063586.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x63994]
mov ecx, dword [rdx + rax*4 + 0x63970]
add rcx, rdx
jmp rcx
mov rcx, rbx
call fcn.140043430
mov rdx, qword [rbp + 0x10]
mov r9d, r15d
xor r9d, 0x10
mov r8d, eax
mov rcx, rsi
mov r13d, eax
call fcn.140063a20
inc dword [rsi + 0x4c]
mov r9d, r15d
mov rdx, qword [rbp + 0x18]
mov r8d, r14d
mov rcx, rsi
call fcn.140063510
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400635da
mov eax, dword [rbx + 0xb8]
not r13d
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
mov rcx, rsi
call fcn.140060cb0
jmp 0x1400638b4
mov rdx, qword [rbp + 0x10]
mov rcx, rsi
call fcn.140063510
inc dword [rsi + 0x4c]
mov r9d, r15d
mov rdx, qword [rbp + 0x18]
mov r8d, r14d
mov rcx, rsi
call fcn.140063510
mov rcx, rsi
call fcn.140060cb0
jmp 0x1400638b4
mov rdx, qword [rbp + 0x10]
mov rcx, rsi
call fcn.140063a20
jmp 0x1400638b4
cmp r13d, 0x1d
mov eax, edi
mov r15d, 0x80
sete al
lea r13d, [rax + 0x24]
mov rdx, qword [rbp + 0x10]
movzx eax, byte [rdx]
cmp al, 0x9d
jne 0x140063648
movzx eax, byte [rdx + 0x36]
cmp al, 0x9e
jne 0x140063652
lea rax, [rdx + 0x20]
jmp 0x14006365a
cmp al, 0x77
jne 0x140063666
mov rax, qword [rdx + 0x20]
mov rax, qword [rax]
cmp dword [rax], 1
jg case.0x140063586.20
lea r8, [rsp + 0x80]
mov rcx, rsi
call fcn.140062da0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rsi
mov ebx, eax
call fcn.140062da0
mov r8, qword [rbp + 0x18]
mov r9d, r13d
mov rdx, qword [rbp + 0x10]
mov rcx, rsi
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.14005ab70
mov r12d, dword [rsp + 0x40]
jmp 0x1400638b4
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rsi
call fcn.140062da0
mov rdx, qword [rbx + 0x18]
mov r8d, eax
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rdx + 0x3c], ecx
jg 0x1400636f6
mov r9d, r14d
mov dword [rsp + 0x20], edi
mov edx, r13d
mov rcx, rbx
call fcn.140042d70
jmp 0x1400638b4
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], r13b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov byte [rax + rcx*8 + 1], dil
jmp 0x1400638a5
lea r9, [fcn.140063510]
mov dword [rsp + 0x20], r15d
mov rdx, rbp
mov rcx, rsi
call fcn.140063360
jmp 0x1400638b4
mov rcx, rbx
call fcn.140043430
mov r9d, eax
test r15d, r15d
mov r8d, eax
mov rdx, rbp
cmovne r9d, r14d
mov rcx, rsi
mov r13d, eax
call fcn.14005f600
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140063785
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r14d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x1400637b3
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], dil
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400638b4
mov eax, dword [rbx + 0xb8]
not r13d
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
jmp 0x1400638b4
mov rcx, rbp
call fcn.14005b890
test eax, eax
je 0x140063830
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14006380f
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, r14d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x1400638b4
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x1400638a5
mov rcx, rbp
call fcn.14005b920
test eax, eax
jne 0x1400638b4
lea r8, [rsp + 0x80]
mov rdx, rbp
mov rcx, rsi
call fcn.140062da0
mov rcx, qword [rbx + 0x18]
test r15d, r15d
movsxd r8, dword [rbx + 0xb8]
mov edx, edi
setne dl
mov r10d, eax
cmp dword [rcx + 0x3c], r8d
jg 0x140063884
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, reloc.WS2_32.dll_setsockopt
mov r8d, eax
mov rcx, rbx
call fcn.140042d70
jmp 0x1400638b4
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_setsockopt
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 8], r14d
mov byte [rax + rcx*8 + 3], dil
mov r13, qword [rsp + 0x88]
cmp dword [rsp + 0x80], edi
je 0x14006390c
movzx r9d, byte [rsi + 0x1f]
cmp r9b, 8
jae 0x14006390c
movzx r8d, byte [rsi + 0x25]
lea rcx, [rsi + 0xc4]
mov edx, edi
test r8d, r8d
je 0x1400638fa
mov eax, dword [rsp + 0x80]
cmp dword [rcx + 0xc], eax
je 0x140063964
inc edx
add rcx, 0x14
cmp edx, r8d
jl 0x1400638e3
mov eax, dword [rsp + 0x80]
mov dword [rsi + r9*4 + 0x18c], eax
inc byte [rsi + 0x1f]
test r12d, r12d
je 0x14006394b
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x14006394b
movzx ecx, byte [rsi + 0x25]
lea rax, [rsi + 0xc4]
test ecx, ecx
je 0x140063940
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x14006396a
inc edi
add rax, 0x14
cmp edi, ecx
jl 0x140063930
mov dword [rsi + rdx*4 + 0x18c], r12d
inc byte [rsi + 0x1f]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov byte [rcx + 6], 1
jmp 0x14006390c
mov byte [rax + 6], 1
jmp 0x14006394b