Function at 0x1800037a0
Capabilities:
Check for time delay via gettickcount
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov qword [rbp + 7], 0xfffffffffffffffe
mov edi, r8d
test r8d, r8d
je 0x180003bf3
lea rcx, [rbp + 0x67]
call fcn.180002f10
mov rsi, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x180003bf3
mov rcx, qword [rax]
test rcx, rcx
je 0x180003804
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc dword [rsi + 0x98]
mov ebx, dword [rsi + 0x98]
mov dword [rbp + 0x7f], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x180003821
call qword [sym.imp.KERNEL32.dll_SetEvent]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 0x51eb851f
mul edi
mov eax, edx
shr eax, 8
mov dword [rbp - 0x3d], eax
mov edx, eax
imul edx, edx, 0x320
mov dword [rbp - 0x39], edx
mov ecx, edi
sub ecx, edx
mov dword [rbp - 0x35], ecx
mov r8d, eax
mov dword [rsp + 0x30], eax
je 0x18000385a
lea r8d, [rax + 1]
mov dword [rsp + 0x30], r8d
xor r13d, r13d
mov qword [rbp - 0x31], r13
mov dword [rbp - 0x21], 1
mov dword [rbp - 0x25], 1
mov qword [rbp - 9], r13
mov dword [rbp - 0xd], r13d
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x1d], edi
mov r15d, r13d
mov qword [rsp + 0x38], r13
mov r14d, r13d
mov qword [rsp + 0x40], r13
mov edi, r13d
mov qword [rsp + 0x48], r13
mov dword [rbp - 0x71], r13d
mov r12d, r13d
mov dword [rbp - 0x61], r13d
test eax, eax
je 0x180003c05
mov dword [rbp - 0x71], 0x350
mov ecx, r13d
mov dword [rbp - 0x41], ecx
mov ebx, dword [rbp - 0x15]
nop dword [rax + rax]
mov dword [rbp - 0x25], r8d
mov dword [rbp - 0x21], r12d
mov dword [rbp - 0xd], 0x320
mov r12d, ecx
add r12, qword [rbp + 0x6f]
mov edi, dword [rsi + 0x10]
mov esi, dword [rsi + 0xc]
mov dword [rbp - 0x2d], 4
mov ecx, 0x370
call fcn.18000fddc
mov qword [rbp - 1], rax
mov dword [rax + 4], 4
mov ecx, dword [rbp + 0x7f]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0xc], ecx
mov ecx, dword [rbp - 0x61]
mov dword [rax + 0x10], ecx
mov ecx, dword [rbp + 0x77]
mov dword [rax + 0x14], ecx
mov dword [rbp - 0x19], edi
mov dword [rax + 0x18], edi
mov dword [rax + 0x1c], ebx
mov dword [rbp - 0x11], esi
mov dword [rax + 0x20], esi
mov dword [rax + 0x24], 0x320
xor ecx, ecx
mov qword [rax + 0x28], rcx
lea rcx, [rax + 0x30]
mov r8d, 0x320
mov rdx, r12
call fcn.180010360
mov r11d, r13d
mov r8, r13
mov rdi, qword [rbp - 1]
lea rbx, [0x180030840]
movsx ecx, byte [r8 + rdi + 4]
mov eax, r11d
xor rcx, rax
movzx edx, cl
shr eax, 8
mov r11d, dword [rbx + rdx*4]
xor r11d, eax
inc r8
cmp r8, 0x34c
jne 0x180003950
mov ebx, dword [rbp - 0x15]
not r11d
mov dword [rbp - 0x31], r11d
mov dword [rdi], r11d
mov dword [rbp - 0x59], r13d
mov qword [rbp - 0x51], rdi
mov dword [rbp - 0x49], 0x350
mov r12d, dword [rbp - 0x61]
mov dword [rbp - 0x55], r12d
lea rax, [rbp - 0x59]
cmp rax, r14
jae 0x180003a0f
lea rax, [rbp - 0x59]
cmp r15, rax
ja 0x180003a0f
lea rcx, [rbp - 0x59]
sub rcx, r15
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 3
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r14, qword [rsp + 0x48]
jne 0x1800039eb
lea rcx, [rsp + 0x38]
call fcn.180004090
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
lea rcx, [rdi + rdi*4]
test r14, r14
je 0x180003a42
mov rax, qword [r15 + rcx*4]
mov qword [r14], rax
mov rax, qword [r15 + rcx*4 + 8]
mov qword [r14 + 8], rax
mov eax, dword [r15 + rcx*4 + 0x10]
mov dword [r14 + 0x10], eax
jmp 0x180003a42
cmp r14, qword [rsp + 0x48]
jne 0x180003a2a
lea rcx, [rsp + 0x38]
call fcn.180004090
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
test r14, r14
je 0x180003a42
mov rax, qword [rbp - 0x59]
mov qword [r14], rax
mov qword [r14 + 8], rdi
mov dword [r14 + 0x10], 0x350
add r14, 0x14
mov qword [rsp + 0x40], r14
mov rcx, r14
sub rcx, r15
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rsi, qword [rbp - 0x69]
cmp rdx, 0xa
jb 0x180003a9e
lea r8, [rsp + 0x38]
mov edx, dword [rbp + 0x7f]
mov rcx, rsi
call fcn.180005390
test eax, eax
je 0x180003ac7
lea rcx, [rsp + 0x38]
call fcn.1800036d0
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
inc r12d
mov dword [rbp - 0x61], r12d
mov ecx, dword [rbp - 0x41]
add ecx, 0x320
mov dword [rbp - 0x41], ecx
mov eax, dword [rbp - 0x3d]
cmp r12d, eax
jae 0x180003bfa
mov r8d, dword [rsp + 0x30]
jmp 0x1800038c0
mov edi, r13d
mov rcx, r14
sub rcx, r15
movabs rax, 0x6666666666666667
imul rcx
mov rsi, rdx
sar rsi, 3
mov rax, rsi
shr rax, 0x3f
add rsi, rax
je 0x180003b09
lea rbx, [r15 + 8]
mov rcx, qword [rbx]
call fcn.18001010c
inc edi
add rbx, 0x14
mov eax, edi
cmp rax, rsi
jb 0x180003af4
cmp r15, r14
cmovne r14, r15
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov r14, qword [rbp - 0x69]
mov ebx, dword [r14 + 0x10]
mov edi, dword [r14 + 0xc]
mov ecx, 0x50
call fcn.18000fddc
mov r12, rax
mov dword [rax + 4], 7
mov eax, dword [rbp + 0x7f]
mov dword [r12 + 8], eax
mov qword [r12 + 0xc], 1
mov dword [r12 + 0x14], r13d
mov dword [r12 + 0x18], ebx
mov dword [r12 + 0x1c], esi
mov dword [r12 + 0x20], edi
mov dword [r12 + 0x24], r13d
xor eax, eax
mov qword [r12 + 0x28], rax
mov rdx, r13
lea r15, [0x180030840]
nop dword [rax + rax]
movsx ecx, byte [rdx + r12 + 4]
mov eax, r13d
xor rcx, rax
movzx eax, cl
shr r13d, 8
mov eax, dword [r15 + rax*4]
xor r13d, eax
inc rdx
cmp rdx, 0x2c
jne 0x180003b80
not r13d
mov dword [r12], r13d
lea rax, [r14 + 0x48]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdx + 4]
mov rdx, r12
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, r12
call fcn.18001010c
lea rcx, [rbp + 0x67]
call fcn.180002fc0
nop
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x180003bf3
mov rcx, r15
call fcn.18001010c
xor eax, eax
jmp 0x180003f4a
mov rdi, qword [rsp + 0x48]
mov ecx, dword [rbp - 0x35]
mov edx, dword [rbp - 0x39]
test ecx, ecx
je 0x180003d11
mov r8d, dword [rsp + 0x30]
mov dword [rbp - 0x25], r8d
mov dword [rbp - 0x21], eax
mov dword [rbp - 0xd], ecx
mov eax, edx
add rax, qword [rbp + 0x6f]
mov qword [rbp - 9], rax
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9d, 4
mov r8d, dword [rsi + 0xc]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x31]
call fcn.18000f5b0
mov rbx, rax
mov dword [rbp - 0x59], r13d
mov qword [rbp - 0x51], rax
mov esi, dword [rbp - 0x71]
mov dword [rbp - 0x49], esi
mov eax, dword [rbp - 0x3d]
mov dword [rbp - 0x55], eax
lea rax, [rbp - 0x59]
cmp rax, r14
jae 0x180003cdb
lea rax, [rbp - 0x59]
cmp r15, rax
ja 0x180003cdb
lea rcx, [rbp - 0x59]
sub rcx, r15
movabs rsi, 0x6666666666666667
mov rax, rsi
imul rcx
mov rbx, rdx
sar rbx, 3
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp r14, rdi
jne 0x180003cae
lea rcx, [rsp + 0x38]
call fcn.180004090
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
lea rcx, [rbx + rbx*4]
test r14, r14
je 0x180003cd0
mov rax, qword [r15 + rcx*4]
mov qword [r14], rax
mov rax, qword [r15 + rcx*4 + 8]
mov qword [r14 + 8], rax
mov eax, dword [r15 + rcx*4 + 0x10]
mov dword [r14 + 0x10], eax
add r14, 0x14
mov qword [rsp + 0x40], r14
jmp 0x180003d1b
cmp r14, rdi
jne 0x180003cf4
lea rcx, [rsp + 0x38]
call fcn.180004090
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
test r14, r14
je 0x180003d08
mov rax, qword [rbp - 0x59]
mov qword [r14], rax
mov qword [r14 + 8], rbx
mov dword [r14 + 0x10], esi
add r14, 0x14
mov qword [rsp + 0x40], r14
movabs rsi, 0x6666666666666667
mov rcx, r14
sub rcx, r15
mov rax, rsi
imul rcx
mov rsi, rdx
sar rsi, 3
mov rax, rsi
shr rax, 0x3f
mov r12, qword [rbp - 0x69]
add rsi, rax
je 0x180003e64
lea r8, [rsp + 0x38]
mov edx, dword [rbp + 0x7f]
mov rcx, r12
call fcn.180005390
test eax, eax
jne 0x180003e5a
mov edi, r13d
test rsi, rsi
je 0x180003d7b
lea rbx, [r15 + 8]
mov rcx, qword [rbx]
call fcn.18001010c
inc edi
add rbx, 0x14
mov eax, edi
cmp rax, rsi
jb 0x180003d66
cmp r15, r14
cmovne r14, r15
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ebx, dword [r12 + 0x10]
mov edi, dword [r12 + 0xc]
mov ecx, 0x50
call fcn.18000fddc
mov r12, rax
mov dword [rax + 4], 7
mov eax, dword [rbp + 0x7f]
mov dword [r12 + 8], eax
mov qword [r12 + 0xc], 1
mov dword [r12 + 0x14], r13d
mov dword [r12 + 0x18], ebx
mov dword [r12 + 0x1c], esi
mov dword [r12 + 0x20], edi
mov dword [r12 + 0x24], r13d
xor eax, eax
mov qword [r12 + 0x28], rax
mov rdx, r13
lea r15, [0x180030840]
nop dword [rax + rax]
movsx ecx, byte [rdx + r12 + 4]
mov eax, r13d
xor rcx, rax
movzx eax, cl
shr r13d, 8
mov eax, dword [r15 + rax*4]
xor r13d, eax
inc rdx
cmp rdx, 0x2c
jne 0x180003df0
not r13d
mov dword [r12], r13d
mov r14, qword [rbp - 0x69]
lea rax, [r14 + 0x48]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdx + 4]
mov rdx, r12
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, r12
call fcn.18001010c
lea rcx, [rbp + 0x67]
call fcn.180002fc0
nop
jmp 0x180003be1
lea rcx, [rsp + 0x38]
call fcn.1800036d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ebx, dword [r12 + 0x10]
mov edi, dword [r12 + 0xc]
mov ecx, 0x50
call fcn.18000fddc
mov r12, rax
mov dword [rax + 4], 7
mov eax, dword [rbp + 0x7f]
mov dword [r12 + 8], eax
mov qword [r12 + 0xc], 1
mov dword [r12 + 0x14], r13d
mov dword [r12 + 0x18], ebx
mov dword [r12 + 0x1c], esi
mov dword [r12 + 0x20], edi
mov dword [r12 + 0x24], r13d
xor eax, eax
mov qword [r12 + 0x28], rax
mov rdx, r13
lea r15, [0x180030840]
nop word [rax + rax]
movsx ecx, byte [rdx + r12 + 4]
mov eax, r13d
xor rcx, rax
movzx eax, cl
shr r13d, 8
mov eax, dword [r15 + rax*4]
xor r13d, eax
inc rdx
cmp rdx, 0x2c
jne 0x180003ed0
not r13d
mov dword [r12], r13d
mov r14, qword [rbp - 0x69]
lea rax, [r14 + 0x48]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdx + 4]
mov rdx, r12
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, r12
call fcn.18001010c
lea rcx, [rbp + 0x67]
call fcn.180002fc0
nop
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x180003f47
mov rcx, r15
call fcn.18001010c
mov eax, dword [rbp + 0x77]
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret