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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
cmp dword [rcx + 0x30], 0
je 0x1402df7d7
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, r8
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov byte [r8], 1
cmp dword [r8 + 0x30], 0
mov qword [rsp + 0x48], r8
jle 0x1402dfd49
mov dword [rsp + 0x5c], r9d
mov dword [rsp + 0x40], edx
mov rbp, qword [rdi + 0x28]
lea rax, [rbx + 0x2c]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 0
xorps xmm6, xmm6
xor r15d, r15d
mov dword [rsp + 0x44], r15d
mov rax, qword [rbp]
mov r15, qword [rax + 0x20]
test byte [rax + 7], 1
jne 0x1402df834
xor r12d, r12d
jmp 0x1402df8fb
mov rax, qword [rax + 0x40]
mov r14, qword [rax + 0x48]
cmp dword [rdi + 0x24], 0
je 0x1402df8dc
cmp dword [rsp + 0x40], 0
je 0x1402df8dc
mov rax, qword [rbp + 8]
mov eax, dword [rax + 4]
and eax, 0x20
je 0x1402df8dc
cmp dword [rsp + 0x3c], 0
jne 0x1402df870
mov eax, dword [rbx + 0x38]
inc eax
mov dword [rsp + 0x3c], eax
mov dword [rbx + 0x38], eax
movsxd rax, dword [rsi + 0x90]
cmp dword [rsi + 0x94], eax
jle 0x1402df8bd
lea ecx, [rax + 1]
mov dword [rsi + 0x90], ecx
mov rcx, qword [rsi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x50
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*8 + 4], edx
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*8 + 8], edx
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x1402df8dc
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x50
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x3c]
call fcn.140287840
mov r12d, dword [rbx + 0x44]
dec r12d
mov dword [rbx + 0x44], r12d
mov rcx, rbx
mov rdx, r14
mov r8d, r12d
mov r9d, reloc.WS2_32.dll_recv
call fcn.1402c6d90
test r15, r15
je 0x1402df922
mov r13d, dword [r15]
cmp r13d, 1
jne 0x1402df94e
mov al, byte [rbx + 0x1f]
test al, al
je 0x1402df975
dec al
mov byte [rbx + 0x1f], al
movzx eax, al
mov r14d, dword [rbx + rax*4 + 0xd0]
jmp 0x1402df980
lea rax, [rbp + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 8]
xor r13d, r13d
test byte [rax + 4], 0x20
mov eax, 0
mov qword [rsp + 0x50], rax
jne 0x1402dfa2a
xor r14d, r14d
jmp 0x1402df9e2
mov eax, dword [rbx + 0x28]
sub eax, r13d
jge 0x1402df965
mov eax, dword [rbx + 0x38]
lea r14d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x38], eax
jmp 0x1402df980
mov r14d, dword [rbx + 0x2c]
lea ecx, [r14 + r13]
mov dword [rbx + 0x2c], ecx
mov dword [rbx + 0x28], eax
jmp 0x1402df980
mov r14d, dword [rbx + 0x38]
inc r14d
mov dword [rbx + 0x38], r14d
mov byte [rsp + 0x20], 1
mov rcx, rbx
mov rdx, r15
mov r8d, r14d
xor r9d, r9d
call fcn.1402c4a40
mov r8d, dword [rbp + 0x10]
test r8d, r8d
js 0x1402df9cf
test r12d, r12d
jne 0x1402df9b3
mov r12d, dword [rbx + 0x44]
dec r12d
mov dword [rbx + 0x44], r12d
mov r8d, dword [rbp + 0x10]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov edx, dword [rsp + 0x5c]
mov r9d, r12d
call fcn.1402edc50
mov dword [rbp + 0x10], eax
lea rax, [rbp + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 8]
test byte [rax + 4], 0x20
jne 0x1402df9ec
mov r15d, dword [rsp + 0x44]
jmp 0x1402dfb0b
mov qword [rsp + 0x50], r14
test r13d, r13d
jle 0x1402dfa2a
add r15, 8
mov edi, 1
mov rdx, qword [r15]
mov rcx, rbx
call fcn.1402893c0
mov r14, rax
test rax, rax
jne 0x1402dfa20
add r15, 0x20
lea eax, [rdi + 1]
cmp edi, r13d
mov edi, eax
jl 0x1402df9ff
test r14, r14
mov rdi, qword [rsp + 0x48]
jne 0x1402dfa31
mov rax, qword [rbx]
mov r14, qword [rax + 0x10]
cmp dword [rsp + 0x3c], 0
mov r15d, dword [rsp + 0x44]
jne 0x1402dfa59
cmp dword [rdi + 0x24], 0
je 0x1402dfa51
mov eax, dword [rbx + 0x38]
inc eax
mov dword [rsp + 0x3c], eax
mov dword [rbx + 0x38], eax
jmp 0x1402dfa59
mov dword [rsp + 0x3c], 0
mov eax, dword [rsi + 0x90]
cmp dword [rsi + 0x94], eax
jle 0x1402dfa96
movsxd rcx, eax
lea edx, [rcx + 1]
mov dword [rsi + 0x90], edx
mov rdx, qword [rsi + 0x88]
lea rcx, [rcx + rcx*2]
mov dword [rdx + rcx*8], 0x55
mov r8d, dword [rsp + 0x3c]
mov dword [rdx + rcx*8 + 4], r8d
movups xmmword [rdx + rcx*8 + 8], xmm6
jmp 0x1402dfab3
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x55
mov r8d, dword [rsp + 0x3c]
xor r9d, r9d
call fcn.140287840
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
jne 0x1402dfb06
test eax, eax
jns 0x1402dfac8
mov eax, dword [rsi + 0x90]
dec eax
mov rcx, qword [rsi + 0x88]
cdqe
lea rax, [rax + rax*2]
cmp byte [rcx + rax*8 + 1], 0
je 0x1402dfaf3
lea rdx, [rcx + rax*8]
mov rcx, rsi
mov r8, r14
mov r9d, 0xfffffffe
call fcn.1402bff10
jmp 0x1402dfb06
test r14, r14
je 0x1402dfb06
lea rax, [rcx + rax*8]
inc rax
mov qword [rax + 0xf], r14
mov byte [rax], 0xfe
mov r14, qword [rsp + 0x50]
mov eax, dword [rdi + 0xc]
add eax, r15d
add eax, dword [rdi + 0x20]
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jle 0x1402dfb56
lea edx, [rcx + 1]
mov dword [rsi + 0x90], edx
mov rdx, qword [rsi + 0x88]
lea rcx, [rcx + rcx*2]
mov qword [rdx + rcx*8], 0xa2
mov rdi, r14
mov dword [rdx + rcx*8 + 8], r14d
mov dword [rdx + rcx*8 + 0xc], eax
mov qword [rdx + rcx*8 + 0x10], 0
jmp 0x1402dfb70
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov edx, 0xa2
xor r8d, r8d
mov rdi, r14
mov r9d, r14d
call fcn.140287840
mov rax, qword [rsp + 0x60]
mov r14, qword [rax]
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x1402dfbc3
test byte [r14 + 4], 0x10
je 0x1402dfbdf
cmp qword [rcx + 0x1e0], r14
jbe 0x1402dfbab
cmp qword [rcx + 0x1d0], r14
jbe 0x1402dfc82
cmp qword [rcx + 0x1d8], r14
jbe 0x1402dfd1f
cmp qword [rcx + 0x2e8], 0
je 0x1402dfc98
mov rdx, r14
call fcn.140252550
jmp 0x1402dfbdf
mov rax, qword [rsi + 0x88]
movsxd rcx, dword [rsi + 0x90]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 - 0x17], 0xf9
mov qword [rax + rcx*8 - 8], r14
mov eax, dword [rsi + 0x90]
test eax, eax
jle 0x1402dfbff
movzx ecx, r13b
mov rdx, qword [rsi + 0x88]
dec eax
lea rax, [rax + rax*2]
mov word [rdx + rax*8 + 2], cx
cmp r13d, 1
jne 0x1402dfc25
test edi, edi
je 0x1402dfc36
movzx eax, byte [rbx + 0x1f]
cmp rax, 7
ja 0x1402dfc36
lea ecx, [rax + 1]
mov byte [rbx + 0x1f], cl
lea rax, [rbx + rax*4]
add rax, 0xd0
jmp 0x1402dfc34
cmp dword [rbx + 0x28], r13d
jge 0x1402dfc36
mov dword [rbx + 0x28], r13d
mov rax, qword [rsp + 0x68]
mov dword [rax], edi
test r12d, r12d
mov rdi, qword [rsp + 0x48]
je 0x1402dfc6c
mov rcx, qword [rsi + 0x18]
not r12d
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1402dfc61
mov eax, dword [rsi + 0x90]
mov rcx, qword [rcx + 0x50]
movsxd rdx, r12d
mov dword [rcx + rdx*4], eax
jmp 0x1402dfc6c
mov rdx, rsi
mov r8d, r12d
call fcn.1402cab40
inc r15d
add rbp, 0x18
cmp r15d, dword [rdi + 0x30]
jl 0x1402df819
jmp 0x1402dfd3e
mov rax, qword [rcx + 0x1c8]
mov qword [r14], rax
mov qword [rcx + 0x1c8], r14
jmp 0x1402dfbdf
test r14, r14
je 0x1402dfbdf
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1402dfd35
mov rcx, qword [0x1404679b8]
test rcx, rcx
je 0x1402dfcc7
mov rax, qword [0x14041aff8]
call qword [case.0x1403339d6.0]
mov rax, qword [0x14041afb0]
mov rcx, r14
call qword [case.0x1403339d6.0]
cdqe
sub qword [0x140467910], rax
dec qword [0x140467958]
mov rax, qword [0x14041afa0]
mov rcx, r14
call qword [case.0x1403339d6.0]
mov r14, qword [0x1404679b8]
lea rax, [0x14041b008]
test r14, r14
je 0x1402dfbdf
mov rax, qword [rax]
mov rcx, r14
call qword [case.0x1403339d6.0]
jmp 0x1402dfbdf
mov rax, qword [rcx + 0x1b8]
mov qword [r14], rax
mov qword [rcx + 0x1b8], r14
jmp 0x1402dfbdf
lea rax, [0x14041afa0]
jmp 0x1402dfd0e
cmp dword [rsp + 0x3c], 0
mov edx, dword [rsp + 0x40]
jne 0x1402dfd5a
xor r15d, r15d
test edx, edx
je 0x1402dfdba
cmp dword [rdi + 0x24], 0
mov dword [rsp + 0x3c], edx
je 0x1402dfdba
mov r15d, dword [rsi + 0x90]
cmp dword [rsi + 0x94], r15d
jle 0x1402dfd9a
movsxd rax, r15d
lea ecx, [rax + 1]
mov dword [rsi + 0x90], ecx
mov rcx, qword [rsi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], reloc.WS2_32.dll_recvfrom
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*8 + 4], edx
xorps xmm0, xmm0
movups xmmword [rcx + rax*8 + 8], xmm0
jmp 0x1402dfdba
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, reloc.WS2_32.dll_recvfrom
mov r8d, dword [rsp + 0x3c]
xor r9d, r9d
call fcn.140287840
mov r15d, eax
cmp dword [rdi + 0x24], 0
jle 0x1402dfe9c
mov rax, qword [rsp + 0x48]
mov rdi, qword [rax + 0x18]
add rdi, 8
xor r12d, r12d
cmp qword [rbx + 0x10], 0
je 0x1402dfe86
mov rax, qword [rsp + 0x48]
mov ebp, dword [rax + 0xc]
add ebp, r12d
mov r14, qword [rdi]
mov rcx, rbx
mov rdx, r14
mov r8d, ebp
call fcn.1402c04e0
cmp ebp, eax
je 0x1402dfe86
test r14, r14
je 0x1402dfe14
mov edx, 0x50
test byte [r14 + 6], 0x40
jne 0x1402dfe19
mov edx, 0x51
mov rcx, qword [rbx + 0x10]
movsxd r8, dword [rcx + 0x90]
cmp dword [rcx + 0x94], r8d
jle 0x1402dfe73
lea r9d, [r8 + 1]
mov dword [rcx + 0x90], r9d
mov rcx, qword [rcx + 0x88]
lea r8, [r8 + r8*2]
mov byte [rcx + r8*8], dl
mov word [rcx + r8*8 + 2], 0
mov dword [rcx + r8*8 + 4], eax
mov dword [rcx + r8*8 + 8], ebp
mov dword [rcx + r8*8 + 0xc], 0
mov qword [rcx + r8*8 + 0x10], 0
mov byte [rcx + r8*8 + 1], 0
jmp 0x1402dfe86
mov dword [rsp + 0x20], 0
mov r8d, eax
mov r9d, ebp
call fcn.140287840
inc r12d
add rdi, 0x18
mov rax, qword [rsp + 0x48]
cmp r12d, dword [rax + 0x24]
jl 0x1402dfdd4
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
test r15d, r15d
je 0x1402df7be
mov eax, dword [rsi + 0x90]
lea ecx, [rax - 1]
cmp ecx, r15d
jne 0x1402dfec7
mov dword [rsi + 0x90], r15d
jmp 0x1402df7be
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x1402dfed9
lea rcx, [0x140467c00]
jmp 0x1402dfeeb
movsxd rcx, r15d
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [rsi + 0x88]
mov dword [rcx + 8], eax
jmp 0x1402df7be