Function at 0x10001e06
Capabilities:
Check for time delay via gettickcount
Encrypt data using rc4 prga

Disassembly:
jmp 0x1002aac0
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x4c]
push esi
push edi
mov eax, dword [ebx + 4]
xor esi, esi
xor edi, edi
cmp eax, esi
mov dword [esp + 0x30], edi
jle 0x1002ad86
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x38], eax
mov eax, dword [0x102a2634]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 1
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x1002ad23
mov dword [esp + 0x14], esi
call ebp
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
add esi, ecx
mov ecx, 6
lea edi, [esp + 0x3c]
cmp eax, 1
rep movsd dword es:[edi], dword [esi]
jne 0x1002ab4e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
cmp eax, ecx
jb 0x1002acfe
jmp 0x1002ab5e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
cmp eax, edx
jae 0x1002acfe
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
add ecx, edi
test esi, esi
mov dword [esp + 0x24], ecx
je 0x1002acfe
call ebp
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
and ebx, 0xff
shl ebx, 5
mov bp, word [ebx + 0x102a2652]
and ebp, 0xffff
imul ebp, edi
mov edi, dword [0x102a260c]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
push ecx
call fcn.101d1786
lea edx, [ebx + 0x102a265c]
push 0x10
push edx
mov eax, dword [ebx + 0x102a266c]
mov ecx, dword [0x102a260c]
mov edx, dword [esp + 0x48]
push eax
push ebp
push ecx
push edx
mov ax, word [ebx + 0x102a2652]
mov ecx, dword [esp + 0x68]
and eax, 0xffff
push eax
push ecx
mov edx, dword [ebx + 0x102a2658]
mov ebp, dword [esp + 0x68]
add edx, ebp
push edx
call fcn.100013c0
add esp, 0x28
test eax, eax
jne 0x1002ac0d
mov dword [esp + 0x34], 1
jmp 0x1002ac55
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
sub eax, edx
dec eax
je 0x1002ac3a
mov ecx, dword [esi]
lea eax, [eax + eax*2]
shl eax, 3
push eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx + 0x18]
add eax, ecx
push edx
push eax
call fcn.10034c20
add esp, 0xc
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
dec edx
dec ecx
sub eax, 0x18
mov dword [esi + 4], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, eax
call edi
mov edi, eax
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1002acc8
mov edx, dword [esp + 0x30]
mov eax, edi
sub eax, edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, eax
push ecx
push edx
mov eax, dword [ebx + 0x102a2658]
mov ecx, dword [0x102a2634]
add eax, ebp
push eax
mov eax, ebp
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
push eax
mov edx, dword [ebx + 0x102a2658]
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push str._FATFS___Test___iTry___d__i_d___Last_sector:_d___PostCount:_d__sector:_d___count:_d___disk_ioctl_CTRL_SYNC_:__d:__d__r_n
push str.diskio
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x30
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
sub esi, ebx
mov ebx, dword [esp + 0x58]
add edx, esi
sub edi, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
add eax, edi
add edx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov dword [0x102a2634], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x1002ab1a
mov edi, dword [esp + 0x34]
xor esi, esi
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jle 0x1002ab07
mov eax, dword [ebx]
cmp eax, esi
je 0x1002ad46
push eax
call fcn.101d1786
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
call ebp
mov ecx, dword [0x1077f6f0]
pop ebp
cmp ecx, esi
je 0x1002ad86
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
sub eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push str._FATFS___Test__TolCount:_d__disk_ioctl_CTRL_SYNC_:__d__realwrite:__d:_d__r_n
push str.diskio
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x20
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x44
ret