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

Disassembly:
push 0xffffffffffffffff
push 0x10153a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, dword [esp + 0x274]
mov eax, dword [esp + 0x288]
test bl, bl
mov edi, edi
push eax
lea eax, [esp + 0x64]
push eax
push esi
call fcn.1003c920
add esp, 0xc
test esi, esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x26c], ebx
mov bh, bh
mov edi, dword [esp + 0x28c]
cmp edi, ebx
jle 0x1007d586
mov ebp, dword [esp + 0x290]
cmp ebp, ebx
jle 0x1007d586
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
test bl, bl
call edi
nop
sub eax, ebx
cmp eax, ebp
jae 0x1007d561
lea esp, [esp]
mov esi, esi
mov bh, bh
mov dword [esp + 0x14], 0
xchg ebx, eax
xchg ebx, eax
mov ecx, ecx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x2c]
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 esi
call fcn.1003cc50
add esp, 0x28
test eax, eax
je 0x1007d561
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.10046220
add esp, 0x10
mov dword [esp + 0x34], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100f3efb
add esp, 4
mov edx, edx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
call fcn.10020c40
mov edx, edx
mov eax, dword [esp + 0x28c]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, eax
call edi
test dl, dl
sub eax, ebx
cmp eax, ebp
jb 0x1007d4b0
mov ecx, dword [esp + 0x28c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1004e870
add esp, 0xc
mov ebp, eax
test eax, eax
xor ebx, ebx
jmp 0x1007d64f
push ecx
pop ecx
test bl, bl
mov dword [esp + 0x14], ebx
test dl, dl
test dl, dl
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x2c]
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 esi
call fcn.1003cc50
add esp, 0x28
test eax, eax
jne 0x1007d5fb
mov dword [esp + 0x26c], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1007d5f4
push eax
call fcn.100e2dad
add esp, 4
xor eax, eax
jmp 0x1007d6a0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.10046220
add esp, 0x10
mov dword [esp + 0x34], eax
test cl, cl
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100f3efb
add esp, 4
mov ah, ah
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
call fcn.10020c40
test ebx, ebx
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.1004e870
add esp, 0xc
mov ebp, eax
mov dh, dh
mov edx, edx
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x1007d682
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x1007d682
mov edx, dword [ecx + esi*4]
push edx
call edi
test ch, ch
add esi, 1
jmp 0x1007d660
mov dword [esp + 0x26c], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1007d69e
push eax
call fcn.100e2dad
add esp, 4
mov eax, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 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.100f43d6
add esp, 0x25c
ret