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

Disassembly:
push 0xffffffffffffffff
push 0x1015c8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b0cd0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0xe4], 0
lea esi, [ebx + 0xdc]
mov dword [esp + 0x1c], esi
je 0x1002e28c
call fcn.1002ec60
mov ecx, dword [esi + 4]
push eax
xor edi, edi
call fcn.100303e0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push esi
call fcn.1002d740
test eax, eax
jne 0x1002e2a6
or eax, 0xffffffff
jmp 0x1002e4d4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov byte [esp + 0x4c], 0
call edi
push 0x40
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], vtable.CBXLQueue.0
call fcn.10046982
add esp, 4
push 0x40
push ebp
push eax
mov dword [esp + 0x38], eax
call fcn.10057070
add esp, 0xc
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x40], ebp
call fcn.1002ec60
mov ebx, dword [ebx + 0xe0]
push eax
call fcn.1002f7d0
mov byte [esp + 0x48], al
call edi
sub eax, dword [esp + 0x24]
cmp eax, 0xbb8
jge 0x1002e499
lea esp, [esp]
mov ebx, dword [esp + 0x50]
test ebp, ebp
jne 0x1002e391
lea eax, [ebp + 1]
cmp ebx, 0xffffffff
je 0x1002e332
mov eax, ebx
cmp byte [esp + 0x48], 0
je 0x1002e369
push 0
push eax
push esi
call fcn.1002d860
test eax, eax
jne 0x1002e353
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002e462
cmp byte [esi + 8], 0
je 0x1002e462
push 0
push 0xa
push eax
lea eax, [esp + 0x34]
push eax
jmp 0x1002e37d
cmp byte [esi + 8], 0
je 0x1002e462
push 0
push 0x32
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.1002ec60
mov edi, dword [esi + 4]
push eax
call fcn.1002ff60
mov ebp, dword [esp + 0x30]
test ebp, ebp
jbe 0x1002e462
mov esi, 1
cmp ebp, esi
jae 0x1002e3a2
mov esi, ebp
mov edi, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x50]
push edi
push edx
call fcn.1005a380
add esp, 0xc
cmp esi, ebp
jae 0x1002e3cb
mov ecx, ebp
mov eax, edi
sub ecx, esi
nop
mov dl, byte [eax + esi]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x1002e3c0
mov eax, dword [esp + 0x34]
sub ebp, esi
sub eax, ebp
push eax
lea ecx, [edi + ebp]
push 0
push ecx
mov dword [esp + 0x3c], ebp
call fcn.10057070
mov eax, dword [esp + 0x2c]
mov cl, byte [esp + 0x58]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov byte [eax + esi], cl
inc eax
xor edi, edi
add esp, 0xc
mov dword [esp + 0x20], eax
cmp edx, edi
je 0x1002e44f
cmp ebx, 0xffffffff
jne 0x1002e428
mov eax, dword [esp + 0x18]
cmp cl, byte [eax + edx]
jne 0x1002e418
inc dword [esp + 0x18]
jmp 0x1002e41c
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x58]
je 0x1002e495
jmp 0x1002e45e
cmp eax, ebx
jl 0x1002e43b
mov esi, dword [esp + 0x18]
cmp cl, byte [esi + edx]
jne 0x1002e43b
inc dword [esp + 0x18]
jmp 0x1002e43f
mov dword [esp + 0x18], edi
cmp eax, ebx
jl 0x1002e45e
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x58]
je 0x1002e495
jmp 0x1002e45e
cmp ebx, 0xffffffff
jne 0x1002e45a
cmp ebp, edi
je 0x1002e495
jmp 0x1002e45e
cmp eax, ebx
jge 0x1002e479
mov esi, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x24]
cmp eax, 0xbb8
jl 0x1002e320
jmp 0x1002e499
mov edi, dword [esp + 0x20]
lea ecx, [edi + esi]
mov eax, ebp
lea esi, [esp + 0x28]
call fcn.1001ef80
mov ebp, dword [esp + 0x30]
add edi, eax
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x1c]
cmp byte [esi + 8], 0
je 0x1002e4af
call fcn.1002ec60
mov ecx, dword [esi + 4]
push eax
xor edi, edi
call fcn.100303e0
test ebp, ebp
jbe 0x1002e4c3
mov eax, dword [esp + 0x2c]
push ebp
push 0
push eax
call fcn.10057070
add esp, 0xc
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1004698d
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x18