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

Disassembly:
push 0xffffffffffffffff
push 0x10192026
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov edi, dword [esp + 0x274]
mov eax, dword [esp + 0x288]
mov esi, esi
cmp dword [0x101d08c4], 0xab9
push eax
lea eax, [esp + 0x64]
push eax
push edi
call fcn.1005fa80
add esp, 0xc
mov ecx, ecx
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x26c], 1
mov eax, eax
mov ebp, dword [esp + 0x28c]
cmp ebp, esi
jle 0x1007ebaf
mov ebx, dword [esp + 0x290]
cmp ebx, esi
jle 0x1007ebaf
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, eax
cmp dword [0x101d08d4], 0x121
call ebp
cmp dword [0x101d08c0], 0xffffa7c6
sub eax, esi
cmp eax, ebx
jae 0x1007eb82
cmp dword [0x101d08c8], 0xffff89b0
mov eax, eax
mov dword [esp + 0x14], 0
mov edi, edi
mov edi, edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x290]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x290]
push eax
mov eax, dword [esp + 0x290]
push ecx
push edx
push eax
push edi
call fcn.1005fe00
add esp, 0x28
test eax, eax
je 0x1007eb82
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.10069da0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x34], ebx
mov ecx, ecx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08c8], 0xffff89b0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x1007eb45
mov dword [eax], ebx
add dword [esp + 0x28], 4
jmp 0x1007eb5d
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10022d60
mov dl, dl
mov edx, dword [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
pop ebx
call ebp
push edx
pop edx
sub eax, esi
cmp eax, dword [esp + 0x290]
jb 0x1007ea99
mov eax, dword [esp + 0x28c]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.10078800
add esp, 0xc
mov ebx, eax
cmp dword [0x101d08b0], 0x2f18
xor esi, esi
jmp 0x1007ecbf
push ebx
pop ebx
mov bl, bl
mov dword [esp + 0x14], esi
cmp dword [0x101d08cc], 0x4dfc
cmp dword [0x101d08c4], 0xab9
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x290]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x290]
push edx
mov edx, dword [esp + 0x290]
push eax
push ecx
push edx
push edi
call fcn.1005fe00
add esp, 0x28
test eax, eax
jne 0x1007ec2c
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1007aa80
xor eax, eax
jmp 0x1007ed08
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.10069da0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
cmp dword [0x101d08cc], 0xffffb203
mov eax, dword [esp + 0x14]
push eax
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08cc], 0xffffb203
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
je 0x1007ec7e
mov dword [eax], edi
add dword [esp + 0x28], 4
jmp 0x1007ec96
push 1
push 1
lea ecx, [esp + 0x3b]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.10022d60
cmp dword [0x101d08b0], 0x2f18
push ebp
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10078800
add esp, 0xc
mov ebx, eax
cmp dword [0x101d08cc], 0xffffb203
mov ch, ch
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edx, eax
sar edx, 2
je 0x1007ecf2
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [eax + esi*4]
push eax
call edi
mov bl, bl
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, eax
add esi, 1
sar ecx, 2
cmp esi, ecx
jb 0x1007ecd6
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1007aa80
mov eax, ebx
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x25c
ret