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

Disassembly:
push 0xffffffffffffffff
push 0x1015efe6
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov edi, dword [esp + 0x174]
mov eax, dword [esp + 0x188]
test dl, dl
mov esi, esi
push eax
lea eax, [esp + 0x64]
push eax
push edi
call fcn.10054650
add esp, 0xc
test dh, dh
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x16c], 1
test dl, dl
mov ebp, dword [esp + 0x18c]
cmp ebp, esi
jle 0x1006fd3a
mov ebx, dword [esp + 0x190]
cmp ebx, esi
jle 0x1006fd3a
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
mov esi, eax
test ecx, ecx
call ebp
push edx
pop edx
sub eax, esi
cmp eax, ebx
jae 0x1006fd15
nop
mov bh, bh
mov dword [esp + 0x14], 0
mov eax, eax
test ecx, ecx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x190]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x190]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x190]
push eax
mov eax, dword [esp + 0x190]
push ecx
push edx
push eax
push edi
call fcn.10054960
add esp, 0x28
test eax, eax
je 0x1006fd15
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push edi
call fcn.1005da00
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x34], ebx
mov dl, dl
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10101432
add esp, 4
test bh, bh
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x1006fcd8
mov dword [eax], ebx
add dword [esp + 0x28], 4
jmp 0x1006fcf0
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.1006d1d0
test al, al
mov edx, dword [esp + 0x18c]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
test eax, eax
call ebp
mov edi, edi
sub eax, esi
cmp eax, dword [esp + 0x190]
jb 0x1006fc41
mov eax, dword [esp + 0x18c]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.10069ea0
add esp, 0xc
mov ebx, eax
test ch, ch
xor esi, esi
jmp 0x1006fe1a
push ecx
pop ecx
test bh, bh
mov dword [esp + 0x14], esi
test esi, esi
mov dl, dl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x190]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x190]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x190]
push edx
mov edx, dword [esp + 0x190]
push eax
push ecx
push edx
push edi
call fcn.10054960
add esp, 0x28
test eax, eax
jne 0x1006fda7
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1006bec0
xor eax, eax
jmp 0x1006fe66
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
call fcn.1005da00
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
test esi, esi
mov eax, dword [esp + 0x14]
push eax
call fcn.10101432
add esp, 4
push ebx
pop ebx
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x1006fde9
mov dword [eax], edi
add dword [esp + 0x28], 4
jmp 0x1006fe01
push 1
push 1
lea ecx, [esp + 0x3b]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.1006d1d0
push ecx
pop ecx
push ebp
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10069ea0
add esp, 0xc
mov ebx, eax
mov esi, esi
mov esi, esi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edx, eax
sar edx, 2
je 0x1006fe50
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [eax + esi*4]
push eax
call edi
test eax, 0x37b7
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, eax
add esi, 1
sar ecx, 2
cmp esi, ecx
jb 0x1006fe31
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1006bec0
mov eax, ebx
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.1010190d
add esp, 0x15c
ret