Function at 0x140085fa0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rdx]
mov rsi, rdx
movzx ebx, byte [rdx + 0x1c]
mov r15, rcx
mov r13d, dword [rcx + 0x54]
not ebx
mov rdi, qword [rcx + 0x10]
and ebx, 1
mov r12d, dword [rax]
inc r13d
mov dword [rcx + 0x54], r13d
mov eax, dword [rdx + 8]
mov dword [rsp + 0x80], eax
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xa0]
cmp dword [rsp + 0xa8], 0
je 0x140086008
mov r14d, r9d
sub r14d, r12d
sub r14d, ebx
jmp 0x140086014
mov eax, r13d
lea r14d, [r13 + 1]
add eax, ebp
mov dword [rcx + 0x54], eax
mov rdx, qword [rdx]
mov r9b, 1
mov r8d, r14d
call fcn.14005b340
test ebx, ebx
je 0x140086043
mov r8d, dword [rsi + 0xc]
lea r9d, [r14 + r12]
mov edx, 0x49
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.14003f920
cmp dword [rsp + 0xa8], 0
jne 0x14008608c
mov eax, dword [rsp + 0xa0]
lea r9d, [r14 + r12]
mov r8d, dword [rsp + 0x98]
add r9d, ebx
mov rcx, qword [r15 + 0x10]
mov edx, 0x20
mov dword [rsp + 0x20], eax
call fcn.14003f920
mov r8d, dword [rsp + 0xa0]
mov rcx, r15
mov edx, dword [rsp + 0x98]
call fcn.140059630
mov eax, dword [rsp + 0x80]
mov edx, 0x31
sub ebp, eax
mov dword [rsp + 0x20], r13d
mov r9d, ebp
mov rcx, rdi
lea r8d, [r14 + rax]
call fcn.14003f920
cmp dword [rsp + 0x80], 0
jle 0x1400862a8
mov ecx, dword [r15 + 0x54]
lea r8d, [r14 + r12]
mov ebp, r12d
lea eax, [rcx + 1]
add ecx, dword [rsi + 8]
mov dword [r15 + 0x54], ecx
sub ebp, dword [rsi + 8]
add ebp, ebx
mov dword [rsp + 0xa8], eax
test ebx, ebx
jne 0x1400860e5
mov r8d, dword [rsi + 0xc]
mov edx, 0x2e
mov dword [rsp + 0x20], 0
mov eax, 0x3b
test ebx, ebx
mov rcx, rdi
cmove edx, eax
xor r9d, r9d
call fcn.14003f920
mov ecx, dword [rsi + 8]
mov r9d, r14d
mov r8d, dword [rsp + 0xa8]
mov edx, 0x2a
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rsp + 0x88], eax
call fcn.14003f920
mov ecx, dword [rsi + 0x18]
test ecx, ecx
jns 0x140086139
mov ecx, dword [rdi + 0x3c]
dec ecx
mov rax, qword [rdi]
cmp byte [rax + 0x50], 0
je 0x14008614b
lea r12, [0x1401823f0]
jmp 0x14008615a
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea r12, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x50], 0
jne 0x1400863af
mov rbx, qword [r12 + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xa0]
add eax, ebp
mov dword [r12 + 8], eax
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.140139c15
mov r9d, 0xfffffffa
mov r8, rbx
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14003ff50
mov r8d, dword [rsp + 0x80]
mov r9d, 1
mov rdx, qword [rsi]
mov rcx, r15
call fcn.140087140
mov qword [r12 + 0x10], rax
xor r9d, r9d
mov ebp, dword [rdi + 0x3c]
mov edx, 0x2b
mov rcx, rdi
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], r8d
call fcn.14003f920
mov rcx, rdi
call fcn.14003fa60
mov dword [rsi + 0x14], eax
xor r12d, r12d
mov r8d, dword [r15 + 0x54]
mov edx, reloc.WS2_32.dll_recvfrom
inc r8d
mov dword [rsp + 0x20], r12d
mov dword [r15 + 0x54], r8d
mov rcx, rdi
mov r9d, dword [rsi + 0x14]
mov dword [rsi + 0x10], r8d
call fcn.14003f920
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, 0x77
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.14003f920
mov eax, dword [rsp + 0x88]
mov r8d, dword [rdi + 0x3c]
cmp r8d, eax
jbe 0x140086243
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], r8d
mov ecx, dword [rdi + 0x3c]
mov r8d, r14d
mov rax, qword [rdi + 0x30]
dec ecx
mov r9d, dword [rsp + 0xa8]
mov edx, 0x20
mov dword [rax + 0x64], ecx
mov ebx, dword [rsi + 8]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], ebx
call fcn.14003f920
mov r8d, ebx
mov edx, r14d
mov rcx, r15
call fcn.140059630
mov r11d, dword [rdi + 0x3c]
cmp r11d, ebp
jbe 0x14008629a
mov rax, qword [rdi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], r11d
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x1400862ab
xor r12d, r12d
movzx edx, byte [rsi + 0x1c]
mov r9d, r13d
mov r8d, dword [rsi + 0xc]
not dl
and edx, 1
mov dword [rsp + 0x20], r12d
add edx, 0x6d
mov rcx, rdi
call fcn.14003f920
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + 0xc]
test ecx, ecx
je 0x1400863af
mov eax, dword [rax + 0x10]
mov edx, 0x8b
test eax, eax
mov dword [rsp + 0x20], r12d
lea ebx, [rax + 1]
cmove ebx, ecx
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call fcn.14003f920
mov r9d, 0xffffffff
mov ebp, eax
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov edx, 0x25
mov rcx, rdi
call fcn.14003f920
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.14003f920
mov ebx, eax
mov eax, dword [rdi + 0x3c]
cmp eax, ebp
jbe 0x140086352
mov rcx, qword [rdi + 8]
lea rdx, [rbp*2]
add rdx, rbp
mov dword [rcx + rdx*8 + 8], eax
mov ecx, dword [rdi + 0x3c]
xor r9d, r9d
mov rax, qword [rdi + 0x30]
dec ecx
mov edx, 0x69
mov dword [rsp + 0x20], r12d
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov r8d, dword [rsi + 0xc]
call fcn.14003f920
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, 0x5f
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.14003f920
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x1400863a3
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret