Function at 0x1001b790
Capabilities:
Check for time delay via gettickcount
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10047074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
push edi
mov dword [ebp - 0x28], esi
call fcn.10015e10
mov eax, dword [ebp + 8]
push 0x1004adec
mov dword [ebp - 0x24], 0xffffffff
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b7d0
sub ecx, edx
mov dword [ebp - 0xc], 0
sar ecx, 1
xor eax, eax
push ecx
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.100119c0
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x1c]
mov edx, 0x811c9dc5
cmp edi, 1
je 0x1001b8fc
cmp dword [ebp - 8], 8
lea edi, [eax + eax]
cmovae esi, dword [ebp - 0x1c]
xor ecx, ecx
test edi, edi
je 0x1001b833
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1001b822
push edx
lea eax, [ebp - 0x1c]
mov ecx, 0x1004adcc
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001af50
mov esi, dword [eax + 4]
test esi, esi
je 0x1001b896
cmp esi, dword [0x1004add0]
je 0x1001b896
mov eax, dword [0x1004adc4]
mov edi, dword [esi + 0x20]
mov ebx, dword [eax]
mov eax, edi
mov ecx, dword [edi]
mov dword [ebp - 0x30], ecx
cmp ebx, edi
je 0x1001b88c
cmp ebx, ecx
je 0x1001b88c
mov edx, dword [edi + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov dword [edi + 4], eax
mov eax, dword [esi + 0x20]
mov esi, dword [eax + 0x20]
mov bl, 1
mov edi, dword [eax + 0x24]
jmp 0x1001b89e
mov edi, dword [ebp - 0x40]
xor bl, bl
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x1001b8d8
mov edx, dword [ebp - 0x1c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b8ce
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bbf4
push ecx
push edx
call fcn.100200a4
add esp, 8
test bl, bl
je 0x1001b9ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + 0x1f4]
cmp eax, ecx
jae 0x1001b9ba
mov dword [ebp - 0x24], esi
jmp 0x1001b9ba
cmp dword [ebp - 8], 8
lea ebx, [eax + eax]
mov edi, dword [ebp - 0x1c]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x1001b921
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1001b910
push edx
lea eax, [ebp - 0x1c]
mov ecx, 0x1004adcc
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001af50
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1001b983
cmp ebx, dword [0x1004add0]
je 0x1001b983
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [0x1004adc8]
push eax
push 0x1004adc4
call fcn.10002690
push 0x28
push esi
call fcn.100200a4
add esp, 0x10
lea eax, [ebp - 0x30]
mov ecx, 0x1004adcc
push ebx
push eax
call fcn.1001b270
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x1001b9ba
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1001b9b0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bbf4
push ecx
push edi
call fcn.100200a4
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1004adec
call esi
cmp dword [ebp - 0x24], 0xffffffff
jne 0x1001bbde
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.1001c040
add esp, 8
cmp eax, 1
jne 0x1001baae
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1004adec
call eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ba20
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100119c0
lea eax, [ebp - 0x2c]
mov ecx, 0x1004adc4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001c2d0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1001ba85
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ba7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bbf9
push edx
push ecx
call fcn.100200a4
add esp, 8
push 0x1004adec
call esi
mov esi, 1
lea ecx, [ebp - 0x38]
call fcn.10015e90
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10020811
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x24], 0xffffffff
jne 0x1001bbde
mov ecx, ebx
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001bad1
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100119c0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.10016310
mov edx, dword [ebp - 8]
mov byte [ebp - 0x1d], al
cmp edx, 8
jb 0x1001bb3a
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bb2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bbfe
push edx
push ecx
call fcn.100200a4
mov al, byte [ebp - 0x1d]
add esp, 8
test al, al
je 0x1001bbde
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1004adec
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov ecx, ebx
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001bb76
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100119c0
lea eax, [ebp - 0x2c]
mov ecx, 0x1004adc4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001c2d0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1001bbd7
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bbcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc03
push edx
push ecx
call fcn.100200a4
add esp, 8
push 0x1004adec
call esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 8]
jne 0x1001ba8c
xor esi, esi
jmp 0x1001ba91
call fcn.10023a8f
call fcn.10023a8f
call fcn.10023a8f
call fcn.10023a8f
int3