Function at 0x180005390
Capabilities:
Check for time delay via gettickcount
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
sub rsp, 0x98
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
xor esi, esi
mov qword [rax - 0x40], r15
mov rbx, r8
mov edi, edx
mov r12, rcx
mov dword [rsp + 0xc8], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9, qword [rbx + 8]
mov dword [rsp + 0x30], eax
movabs rax, 0x6666666666666667
sub r9, qword [rbx]
mov dword [rsp + 0x3c], esi
imul r9
sar rdx, 3
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
lea rcx, [rdx*4]
call fcn.18000fddc
mov edx, edi
mov rcx, r12
mov rbx, rax
mov qword [rsp + 0x48], rax
call fcn.180004aa0
mov r13d, 1
mov ebp, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], r13d
cmp dword [r12 + 0x64], esi
je 0x1800059cb
nop dword [rax + rax]
mov r8, qword [rsp + 0xc0]
movabs rax, 0x6666666666666667
mov r15d, esi
mov r10, qword [r8]
mov rcx, qword [r8 + 8]
mov dword [rsp + 0x44], esi
sub rcx, r10
mov r14d, esi
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18000555e
mov rdi, rbx
xor ebx, ebx
cmp dword [rbx + r10], 0
jne 0x180005528
mov r8d, dword [rbx + r10 + 0x10]
mov rdx, qword [rbx + r10 + 8]
mov rcx, qword [r12 + 0x40]
lea rax, [r12 + 0x48]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jle 0x1800059cb
mov r8, qword [rsp + 0xc0]
add rdi, 4
add r14d, 4
mov rax, qword [r8]
mov ecx, dword [rbx + rax + 4]
mov dword [rdi - 4], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x30]
cmp eax, dword [r12 + 0x58]
jae 0x1800059cb
inc r15d
mov dword [rsp + 0x44], r15d
cmp ebp, 0x1e
jae 0x1800059cb
cmp ebp, 2
jbe 0x18000550f
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180005514
call fcn.180004e20
cmp dword [r12 + 0x64], 0
je 0x1800059cb
mov r8, qword [rsp + 0xc0]
mov r10, qword [r8]
mov rcx, qword [r8 + 8]
inc esi
sub rcx, r10
movabs rax, 0x6666666666666667
add rbx, 0x14
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, esi
cmp rax, rdx
jb 0x180005482
mov ebx, dword [rsp + 0x3c]
test ebx, ebx
jne 0x1800059d0
mov r13d, dword [rsp + 0xb8]
xor r15d, r15d
cmp dword [r12 + 8], r15d
jne 0x18000569f
cmp dword [r12 + 0x64], r15d
je 0x1800059cb
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [r12 + 0x10]
mov edi, dword [r12 + 0xc]
lea ecx, [r14 + 0x50]
mov esi, eax
call fcn.18000fddc
mov rbp, rax
mov dword [rax + 4], 5
mov dword [rax + 8], r13d
mov qword [rax + 0xc], 1
mov dword [rax + 0x14], r14d
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], esi
mov dword [rax + 0x20], edi
mov dword [rax + 0x24], r14d
xor eax, eax
lea r11d, [rax + 0x30]
mov qword [rbp + 0x28], rax
test r14d, r14d
je 0x1800055fc
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x30]
mov r8d, r14d
call fcn.180010360
lea r11d, [r14 + 0x30]
lea eax, [r11 - 4]
cmp eax, 1
jge 0x18000560b
or r8d, 0xffffffff
jmp 0x18000564d
mov r8d, r15d
mov r9, r15
movsxd r10, eax
test eax, eax
je 0x18000564a
lea r13, [0x180030840]
nop
movsx ecx, byte [r9 + rbp + 4]
mov eax, r8d
inc r9
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [r13 + rdx*4]
xor r8d, eax
cmp r9, r10
jne 0x180005620
mov r13d, dword [rsp + 0xb8]
not r8d
mov dword [rbp], r8d
mov rcx, qword [r12 + 0x40]
lea rax, [r12 + 0x48]
xor r9d, r9d
mov r8d, r11d
mov rdx, rbp
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, rbp
call fcn.18001010c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x30]
cmp eax, dword [r12 + 0x58]
jae 0x1800059cb
cmp dword [r12 + 8], r15d
je 0x180005580
mov ecx, 5
mov dword [r12 + 0x9c], r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [r12 + 0x10]
mov edi, dword [r12 + 0xc]
lea ecx, [r14 + 0x50]
mov esi, eax
mov eax, ecx
mov qword [rsp + 0x50], rax
call fcn.18000fddc
mov dword [rax + 4], 5
mov dword [rax + 8], r13d
mov qword [rax + 0xc], 1
mov dword [rax + 0x14], r14d
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], esi
mov dword [rax + 0x20], edi
mov rbp, rax
mov dword [rax + 0x24], r14d
xor eax, eax
mov qword [rbp + 0x28], rax
lea r11d, [rax + 0x30]
test r14d, r14d
je 0x18000571f
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x30]
mov r8d, r14d
call fcn.180010360
lea r11d, [r14 + 0x30]
lea eax, [r11 - 4]
cmp eax, 1
jge 0x180005730
or r8d, 0xffffffff
xor esi, esi
jmp 0x18000577c
xor esi, esi
movsxd r10, eax
mov r8d, esi
mov r9d, esi
test eax, eax
je 0x180005779
lea r12, [0x180030840]
nop word [rax + rax]
movsx ecx, byte [r9 + rbp + 4]
mov eax, r8d
inc r9
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [r12 + rdx*4]
xor r8d, eax
cmp r9, r10
jne 0x180005750
mov r12, qword [rsp + 0xb0]
not r8d
mov dword [rbp], r8d
mov rcx, qword [r12 + 0x40]
lea r15, [r12 + 0x48]
xor r9d, r9d
mov r8d, r11d
mov rdx, rbp
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, rbp
call fcn.18001010c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x40], esi
mov ebx, esi
mov r13d, esi
nop dword [rax]
cmp dword [r12 + 0x64], 0
je 0x18000590b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jb 0x1800058d8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsp + 0x50]
mov ebx, dword [r12 + 0x10]
mov edi, dword [r12 + 0xc]
mov esi, eax
call fcn.18000fddc
mov dword [rax + 4], 5
mov rbp, rax
mov eax, dword [rsp + 0xb8]
mov dword [rbp + 8], eax
mov qword [rbp + 0xc], 1
mov dword [rbp + 0x14], r14d
mov dword [rbp + 0x18], ebx
xor eax, eax
mov dword [rbp + 0x1c], esi
mov dword [rbp + 0x20], edi
mov dword [rbp + 0x24], r14d
mov qword [rbp + 0x28], rax
lea r11d, [rax + 0x30]
test r14d, r14d
je 0x18000584f
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x30]
mov r8d, r14d
call fcn.180010360
lea r11d, [r14 + 0x30]
lea eax, [r11 - 4]
cmp eax, 1
jge 0x180005860
or r8d, 0xffffffff
xor esi, esi
jmp 0x1800058a9
xor esi, esi
movsxd r10, eax
mov r8d, esi
mov r9d, esi
test eax, eax
je 0x1800058a6
lea r15, [0x180030840]
nop word [rax + rax]
movsx ecx, byte [r9 + rbp + 4]
mov eax, r8d
inc r9
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [r15 + rdx*4]
xor r8d, eax
cmp r9, r10
jne 0x180005880
lea r15, [r12 + 0x48]
not r8d
mov dword [rbp], r8d
mov rcx, qword [r12 + 0x40]
xor r9d, r9d
mov r8d, r11d
mov rdx, rbp
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, rbp
call fcn.18001010c
mov ebx, esi
cmp dword [r12 + 0x9c], 0
jne 0x1800058f9
inc r13d
cmp r13d, 0x7d0
jbe 0x1800057c0
mov ebx, dword [rsp + 0x3c]
jmp 0x180005914
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rsp + 0x3c]
mov edi, eax
mov dword [rsp + 0x30], eax
jmp 0x180005918
mov ebx, 1
mov dword [rsp + 0x3c], ebx
mov edi, dword [rsp + 0x30]
cmp dword [r12 + 0x9c], 0
jne 0x180005946
mov r13d, dword [rsp + 0x38]
cmp r13d, 0x1f4
ja 0x18000593a
add r13d, 0xa
mov dword [rsp + 0x38], r13d
mov ebp, dword [rsp + 0x34]
inc ebp
mov dword [rsp + 0x34], ebp
jmp 0x1800059b5
mov r8, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xb8]
lea r9, [rsp + 0x40]
mov rcx, r12
call fcn.180004f70
mov ebp, eax
mov dword [rsp + 0xc8], eax
test eax, eax
jne 0x1800059d7
test ebx, ebx
jne 0x1800059c7
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x180005983
mov ebp, dword [rsp + 0x34]
inc ebp
jmp 0x180005985
mov ebp, esi
mov r13d, dword [rsp + 0x38]
mov dword [rsp + 0x34], ebp
cmp eax, dword [rsp + 0x44]
jae 0x1800059a6
cmp r13d, 0x1f4
ja 0x1800059a6
add r13d, 0xa
mov dword [rsp + 0x38], r13d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, dword [r12 + 0x58]
jae 0x1800059cb
cmp dword [r12 + 0x64], 0
je 0x1800059cb
mov rbx, qword [rsp + 0x48]
jmp 0x180005440
mov ebp, esi
jmp 0x1800059d7
mov ebx, 1
mov ebp, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call fcn.18001010c
mov rcx, qword [r12]
mov eax, dword [rsp + 0xb8]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov dword [rsp + 0xb8], eax
test rcx, rcx
je 0x180005a20
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [r12 + 0x18]
lea rdx, [rsp + 0xb8]
call fcn.1800069f0
mov rcx, qword [r12]
mov r12, qword [rsp + 0x80]
test rcx, rcx
je 0x180005a49
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 0
test ebx, ebx
cmovne ebp, eax
mov eax, ebp
add rsp, 0x98
pop rbp
pop rbx
ret