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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 0
xor eax, eax
test eax, eax
jne 0x14002dea0
xor eax, eax
test eax, eax
jne 0x14002dea6
xor eax, eax
test eax, eax
jne 0x14002deac
xor eax, eax
test eax, eax
jne 0x14002deb2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov edx, 6
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x3f
jne 0x14002dee4
jmp 0x14002dfb5
xor eax, eax
test eax, eax
jne 0x14002dee4
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x38], 0
je 0x14002dfb0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x24], eax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x34], eax
mov edx, 7
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x3c], eax
xor eax, eax
test eax, eax
jne 0x14002df49
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x80], eax
jl 0x14002dfab
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jge 0x14002dfab
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x30]
mov eax, edx
test eax, eax
jne 0x14002dfab
xor eax, eax
test eax, eax
jne 0x14002df8d
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
jmp 0x14002e17e
jmp 0x14002deea
jmp 0x14002deb8
mov edx, 7
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x20], eax
xor eax, eax
test eax, eax
jne 0x14002dfcb
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x40], 0
je 0x14002e041
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x24], eax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x34], eax
xor eax, eax
test eax, eax
jne 0x14002e016
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x80], eax
jne 0x14002e03f
xor eax, eax
test eax, eax
jne 0x14002e029
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x80], eax
jmp 0x14002e17e
jmp 0x14002dfd1
mov edx, 7
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x20], eax
xor eax, eax
test eax, eax
jne 0x14002e057
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x44], 0
je 0x14002e178
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x24], eax
mov edx, 2
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x28], eax
xor eax, eax
test eax, eax
jne 0x14002e0a6
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x80], eax
jne 0x14002e146
xor eax, eax
test eax, eax
jne 0x14002e0bd
cmp qword [rsp + 0x78], 0
je 0x14002e13a
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x48], 0
je 0x14002e13a
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x14002e102
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov ecx, dword [rsp + 0x4c]
call fcn.14002d170
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
xor eax, eax
test eax, eax
jne 0x14002e0fa
jmp 0x14002e0cb
mov eax, 0xffffffff
jmp 0x14002e1ce
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x54], 0
je 0x14002e173
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x88]
call fcn.14009fb50
jmp 0x14002e146
jmp 0x14002e05d
xor eax, eax
test eax, eax
jne 0x14002e178
cmp qword [rsp + 0x78], 0
je 0x14002e1c7
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x58], eax
xor eax, eax
test eax, eax
jne 0x14002e191
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov ecx, dword [rsp + 0x58]
call fcn.14002d170
mov dword [rsp + 0x5c], eax
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
xor eax, eax
test eax, eax
jne 0x14002e186
mov eax, dword [rsp + 0x80]
add rsp, 0x68
ret