Function at 0x1002ce2f
Capabilities:
Check for time delay via gettickcount

Disassembly:
pop esi
add esi, 0x2b
cmp esi, 0
je 0x1002cdd0
jmp esi
cmp dword [0x108d8b61], 0x81ffffff
shr dword [eax + 1], 0
add al, ch
insb byte es:[edi], dx
sti
add byte [eax], al
jmp 0x1002ce28
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x14], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
call fcn.10030e40
mov ecx, dword [ebp - 0xf0]
add ecx, 0x168
call fcn.10030050
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xf0]
cmp dword [ecx + 0x10], 0
je 0x1002ce92
jmp 0x1002d89f
push 0x14
lea edx, [ebp - 0x2c]
push edx
call fcn.100319e0
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xf0]
add eax, 0xde
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x7a
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.1002a3b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1002d034
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.1002c200
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x1002d034
add byte [eax], al
mov ecx, dword [ebp - 0xf0]
add ecx, 0x168
call fcn.10041860
mov dword [ebp - 0x58], 1
mov ecx, dword [ebp - 0xf0]
add ecx, 0x168
call fcn.10032fc0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 0x13668]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x238
call fcn.1002aa70
test eax, eax
jbe 0x1002d134
mov ecx, dword [ebp - 0xf0]
add ecx, 0x238
call fcn.1002aa70
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0x6c], 0
jbe 0x1002d0b1
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
pushal
call fcn.1002d0cb
mov dword fs:[0], ecx
add esp, 0x10
ret
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x64], 5
mov edx, dword [ebp - 0xf0]
cmp dword [edx + 0x250], 0
jbe 0x1002d172
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x250], 0xb
jae 0x1002d172
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 0x250]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x13690], 0x3f
jne 0x1002d259
pushal
call fcn.1002d1a5
shr eax, 1
pop ebp
ret 8
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x13690], 0x43
jne 0x1002d2bd
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 2
pushal
call fcn.1002d28a
add esp, 0x24
ret
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 0x13690]
push ecx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x15a14
call fcn.10048010
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1002d375
mov edx, dword [ebp - 0xf0]
mov dword [edx + 0x10], 1
mov dword [ebp - 0x58], 0
jmp 0x1002d77a
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x15a14
call 0x10048640
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x1002d41b
mov ecx, dword [ebp - 0xf0]
mov dword [ecx + 0x10], 1
mov dword [ebp - 0x58], 0
jmp 0x1002d77a
mov dword [ebp - 0x60], 0
pushal
call fcn.1002d43c
mov dword fs:[0], ecx
add esp, 0x10
ret
cmp dword [ebp - 0x58], 0
jne 0x1002d828
pushal
call fcn.1002d79f
pop ecx
ret
mov eax, dword [ebp - 0xf0]
mov dword [eax + 0x15bd4], 0
mov ecx, dword [ebp - 0xf0]
mov dword [ecx + 0x15bcc], 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
pushal
call fcn.1002d86a
mov eax, 0x403248
ret