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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0x98]
mov r15d, edx
mov r13, qword [rsp + 0xa0]
mov r12, rcx
movsxd rbp, r9d
mov rsi, rbp
movsxd rax, dword [rbx + 4]
cmp eax, 0x20
jge 0x14002a97b
mov rdx, rax
cmp rax, rbp
jle 0x14002a8e2
lea rdi, [rbx + 8]
sub rdx, rbp
lea rdi, [rdi + rax*4]
nop word [rax + rax]
mov eax, dword [rdi - 4]
mov dword [rdi], eax
lea rdi, [rdi - 4]
sub rdx, 1
jne 0x14002a8d0
mov eax, dword [rbx + 4]
cmp byte [rbx], 0
je 0x14002a913
movsxd rdi, eax
cmp rdi, rsi
jle 0x14002a942
lea rdx, [rbx + 0x88]
lea rdx, [rdx + rdi*8]
sub rdi, rsi
nop dword [rax]
mov rax, qword [rdx - 8]
mov qword [rdx], rax
lea rdx, [rdx - 8]
sub rdi, 1
jne 0x14002a900
jmp 0x14002a942
inc eax
movsxd rdi, eax
lea eax, [rbp + 1]
movsxd rcx, eax
cmp rdi, rcx
jle 0x14002a942
lea rdx, [rbx + 0x198]
lea rdx, [rdx + rdi*8]
sub rdi, rcx
mov rax, qword [rdx - 8]
mov qword [rdx], rax
lea rdx, [rdx - 8]
sub rdi, 1
jne 0x14002a931
mov dword [rbx + rbp*4 + 8], r15d
cmp byte [rbx], 0
je 0x14002a961
mov rax, qword [r8]
mov qword [rbx + rbp*8 + 0x88], rax
inc dword [rbx + 4]
xor eax, eax
jmp 0x14002aecd
mov rax, qword [rsp + 0x90]
mov qword [rbx + rbp*8 + 0x1a0], rax
inc dword [rbx + 4]
xor eax, eax
jmp 0x14002aecd
mov qword [rsp + 0x70], r14
call fcn.140025490
movzx ecx, byte [rbx]
mov r14, rax
mov byte [rax], cl
cmp byte [rbx], 0
je 0x14002a9c1
mov rcx, qword [rbx + 0x188]
mov qword [rax + 0x188], rcx
mov rax, qword [rbx + 0x188]
test rax, rax
je 0x14002a9b3
mov qword [rax + 0x190], r14
mov qword [r14 + 0x190], rbx
mov qword [rbx + 0x188], r14
cmp ebp, 0x10
jl 0x14002abc0
xor r9d, r9d
mov rdx, r14
sub rdx, rbx
mov r10d, sendto
mov r8d, r9d
cmp rsi, r10
jle 0x14002aa00
lea r8, [rbp - 0x10]
mov rdi, r8
lea r10d, [r8 + 0x10]
lea rcx, [rbx + 0x48]
mov eax, dword [rcx]
mov dword [rdx + rcx - 0x40], eax
lea rcx, [rcx + 4]
sub rdi, 1
jne 0x14002a9f0
movsxd rax, r8d
mov edi, 0x20
movsxd r10, r10d
mov dword [r14 + rax*4 + 8], r15d
cmp r10, rdi
jge 0x14002aa56
movsxd rax, r8d
lea rcx, [rbx + 8]
sub rax, r10
lea rcx, [rcx + r10*4]
mov edx, edi
lea r8, [rax*4 + 4]
sub r8, rbx
add r8, r14
sub rdx, r10
nop word [rax + rax]
mov eax, dword [rcx]
mov dword [r8 + rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14002aa40
mov rdx, r14
sub rdx, rbx
mov ebp, r9d
mov r8d, sendto
cmp byte [rbx], bpl
je 0x14002ab00
cmp rsi, r8
jle 0x14002aaa1
lea rbp, [rsi - 0x10]
lea r9, [rdx - 0x80]
mov rdx, rbp
lea r8d, [rbp + 0x10]
lea rcx, [rbx + 0x108]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [r9 + rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x14002aa90
mov rax, qword [rsp + 0x80]
movsxd rcx, ebp
inc ebp
movsxd rsi, r8d
mov rax, qword [rax]
mov qword [r14 + rcx*8 + 0x88], rax
cmp rsi, rdi
jge 0x14002abad
movsxd rcx, ebp
lea rdx, [rbx + 0x88]
add rcx, 0x11
lea rdx, [rdx + rsi*8]
sub rdi, rsi
add ebp, edi
lea rcx, [r14 + rcx*8]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdi, 1
jne 0x14002aae0
mov dword [rbx + 4], sendto
jmp 0x14002aec1
cmp rsi, r8
jle 0x14002ab35
add rsi, 0xfffffffffffffff0
lea rcx, [rbx + 0x220]
mov ebp, esi
lea r8d, [rsi + 0x10]
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [rdx + rcx - 0x88], rax
lea rcx, [rcx + 8]
sub rsi, 1
jne 0x14002ab20
mov rax, qword [rsp + 0x90]
lea edx, [r8 + 1]
movsxd rcx, ebp
inc ebp
mov qword [r14 + rcx*8 + 0x198], rax
mov eax, dword [rbx + 4]
inc eax
cmp edx, eax
jge 0x14002ab8b
movsxd rdi, ebp
add rdi, 0x33
movsxd rcx, r8d
add rcx, 0x34
lea rdi, [r14 + rdi*8]
lea rcx, [rbx + rcx*8]
nop dword [rax]
mov rax, qword [rcx]
lea rcx, [rcx + 8]
mov qword [rdi], rax
lea rdi, [rdi + 8]
mov eax, dword [rbx + 4]
inc edx
inc eax
inc ebp
cmp edx, eax
jl 0x14002ab70
lea rdi, [r14 + 8]
mov dword [r13 + 8], 2
mov eax, dword [rdi]
mov dword [r13], eax
lea eax, [rbp - 1]
movsxd rcx, eax
test eax, eax
jle 0x14002abad
lea rsi, [r14 + 0xc]
rep movsd dword [rdi], dword [rsi]
mov dword [rbx + 4], sendto
jmp 0x14002aec1
mov eax, dword [rbx + 0x44]
lea rdi, [r14 + 8]
mov dword [rdi], eax
lea rsi, [r14 + 0xc]
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
mov eax, dword [rbx + 0x4c]
mov dword [r14 + 0x10], eax
mov eax, dword [rbx + 0x50]
mov dword [r14 + 0x14], eax
mov eax, dword [rbx + 0x54]
mov dword [r14 + 0x18], eax
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x1c], eax
mov eax, dword [rbx + 0x5c]
mov dword [r14 + 0x20], eax
mov eax, dword [rbx + 0x60]
mov dword [r14 + 0x24], eax
mov eax, dword [rbx + 0x64]
mov dword [r14 + 0x28], eax
mov eax, dword [rbx + 0x68]
mov dword [r14 + 0x2c], eax
mov eax, dword [rbx + 0x6c]
mov dword [r14 + 0x30], eax
mov eax, dword [rbx + 0x70]
mov dword [r14 + 0x34], eax
mov eax, dword [rbx + 0x74]
mov dword [r14 + 0x38], eax
mov eax, dword [rbx + 0x78]
mov dword [r14 + 0x3c], eax
mov eax, dword [rbx + 0x7c]
mov dword [r14 + 0x40], eax
mov eax, dword [rbx + 0x80]
mov dword [r14 + 0x44], eax
mov eax, dword [rbx + 0x84]
mov dword [r14 + 0x48], eax
cmp byte [rbx], 0
je 0x14002ad40
mov rax, qword [rbx + 0x100]
mov qword [r14 + 0x88], rax
mov rax, qword [rbx + 0x108]
mov qword [r14 + 0x90], rax
mov rax, qword [rbx + 0x110]
mov qword [r14 + 0x98], rax
mov rax, qword [rbx + 0x118]
mov qword [r14 + 0xa0], rax
mov rax, qword [rbx + 0x120]
mov qword [r14 + 0xa8], rax
mov rax, qword [rbx + 0x128]
mov qword [r14 + 0xb0], rax
mov rax, qword [rbx + 0x130]
mov qword [r14 + 0xb8], rax
mov rax, qword [rbx + 0x138]
mov qword [r14 + 0xc0], rax
mov rax, qword [rbx + 0x140]
mov qword [r14 + 0xc8], rax
mov rax, qword [rbx + 0x148]
mov qword [r14 + 0xd0], rax
mov rax, qword [rbx + 0x150]
mov qword [r14 + 0xd8], rax
mov rax, qword [rbx + 0x158]
mov qword [r14 + 0xe0], rax
mov rax, qword [rbx + 0x160]
mov qword [r14 + 0xe8], rax
mov rax, qword [rbx + 0x168]
mov qword [r14 + 0xf0], rax
mov rax, qword [rbx + 0x170]
mov qword [r14 + 0xf8], rax
mov rax, qword [rbx + 0x178]
mov qword [r14 + 0x100], rax
mov rax, qword [rbx + 0x180]
mov qword [r14 + 0x108], rax
jmp 0x14002ae43
mov rax, qword [rbx + 0x218]
mov ecx, sendto
mov qword [r14 + 0x198], rax
mov rax, qword [rbx + 0x220]
mov qword [r14 + 0x1a0], rax
mov rax, qword [rbx + 0x228]
mov qword [r14 + 0x1a8], rax
mov rax, qword [rbx + 0x230]
mov qword [r14 + 0x1b0], rax
mov rax, qword [rbx + 0x238]
mov qword [r14 + 0x1b8], rax
mov rax, qword [rbx + 0x240]
mov qword [r14 + 0x1c0], rax
mov rax, qword [rbx + 0x248]
mov qword [r14 + 0x1c8], rax
mov rax, qword [rbx + 0x250]
mov qword [r14 + 0x1d0], rax
mov rax, qword [rbx + 0x258]
mov qword [r14 + 0x1d8], rax
mov rax, qword [rbx + 0x260]
mov qword [r14 + 0x1e0], rax
mov rax, qword [rbx + 0x268]
mov qword [r14 + 0x1e8], rax
mov rax, qword [rbx + 0x270]
mov qword [r14 + 0x1f0], rax
mov rax, qword [rbx + 0x278]
mov qword [r14 + 0x1f8], rax
mov rax, qword [rbx + 0x280]
mov qword [r14 + 0x200], rax
mov rax, qword [rbx + 0x288]
mov qword [r14 + 0x208], rax
mov rax, qword [rbx + 0x290]
mov qword [r14 + 0x210], rax
mov rax, qword [rbx + 0x298]
mov qword [r14 + 0x218], rax
mov dword [r13 + 8], 2
mov eax, dword [rdi]
mov dword [r13], eax
rep movsd dword [rdi], dword [rsi]
mov ebp, reloc.WS2_32.dll_recvfrom
mov dword [rbx + 4], reloc.WS2_32.dll_ntohs
xor r9d, r9d
lea edi, [rbp - 3]
lea edx, [rbp - 0xa]
cmp r15d, dword [rbx + 0x24]
je 0x14002ae94
nop
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 8]
lea eax, [rdx + 1]
cmp r15d, ecx
cmovae r9d, eax
lea eax, [rdx - 1]
cmovae eax, edi
mov edi, eax
sub eax, r9d
cdq
sub eax, edx
sar eax, 1
lea edx, [r9 + rax]
cmp r9d, edi
jg 0x14002ae97
movsxd rcx, edx
cmp r15d, dword [rbx + rcx*4 + 8]
jne 0x14002ae60
mov r9d, edx
mov rax, qword [rsp + 0x90]
mov edx, r15d
mov r8, qword [rsp + 0x80]
mov rcx, r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.14002a870
mov dword [r14 + 4], ebp
mov rax, r14
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret