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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024390
push 0x10019c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1000b6a0
call fcn.10008680
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000c173
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x10024330
push eax
call dword [ecx]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x10024330
push esi
call dword [eax]
cmp dword [ebp - 0x1c], ebx
je 0x1000c173
mov edx, dword [ebp - 0x24]
cmp edx, ebx
je 0x1000c173
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 0x1f
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
mov eax, 0x7c
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x11c], eax
mov eax, dword [edx]
lea ecx, [ebp - 0xa0]
push ecx
push edx
call dword [eax + 0x58]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea ecx, [ebp - 0x11c]
push ecx
push eax
call dword [edx + 0x58]
mov eax, dword [ebp - 0x38]
test ah, 2
je 0x1000c173
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x1000bede
mov ebx, dword [ebp - 0x94]
jmp 0x1000bee3
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
mov dword [ebp - 0x12c], ebx
test esi, esi
jne 0x1000bef5
mov edi, dword [ebp - 0x98]
jmp 0x1000befb
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [ebp - 0x120], edi
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1000bf10
mov edx, dword [ebp - 0x110]
jmp 0x1000bf15
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [ebp - 0x134], edx
test eax, eax
jne 0x1000bf27
mov ecx, dword [ebp - 0x114]
jmp 0x1000bf2d
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x124], ecx
cmp ebx, edx
jne 0x1000c173
cmp edi, ecx
jne 0x1000c173
test byte [ebp - 0xd0], 0x40
je 0x1000c173
mov eax, dword [ebp - 0xc8]
cmp eax, 0x20
je 0x1000bf64
cmp eax, 0x10
jne 0x1000c173
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, eax
mov dword [ebp - 0x130], eax
cmp eax, dword [0x1003ca44]
jg 0x1000c173
xor ebx, ebx
cmp esi, ebx
jne 0x1000bf8c
mov dword [ebp - 0x150], ebx
jmp 0x1000bf94
mov edx, dword [esi]
mov dword [ebp - 0x150], edx
cmp esi, ebx
je 0x1000bf9b
mov ebx, dword [esi + 4]
push eax
call fcn.1000b5e0
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
je 0x1000c545
mov eax, dword [ebp - 0x130]
push eax
mov edi, dword [ebp - 0x140]
push edi
call fcn.10006880
add esp, 8
mov esi, eax
mov dword [ebp - 0x13c], esi
xor eax, eax
cmp esi, eax
jne 0x1000bfe4
push edi
call fcn.100068b0
add esp, 4
jmp 0x1000c545
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], eax
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x138], edi
lea ecx, [ebp - 0x14c]
push ecx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [ebp - 0x178]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call section..text
add esp, 4
mov dword [ebp - 0x17c], eax
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1000c079
mov eax, dword [ebp - 0x170]
cmp eax, dword [esi + 0x14]
jne 0x1000c048
mov ecx, dword [ebp - 0x16c]
cmp ecx, dword [esi + 0x18]
je 0x1000c079
mov eax, dword [0x1003d428]
test eax, eax
je 0x1000c067
mov dword [ebp - 0x180], eax
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [0x1003d428], 0
mov eax, dword [ebp - 0x170]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0x16c]
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1003d428]
test edx, edx
jne 0x1000c1ed
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x200], 0x7c
mov dword [ebp - 0x1fc], 7
mov eax, dword [esi + 0x14]
cmp dword [ebp - 0x12c], eax
ja 0x1000c0c4
mov dword [ebp - 0x1f4], eax
jmp 0x1000c0cd
lea edx, [eax + eax]
mov dword [ebp - 0x1f4], edx
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x120], eax
jbe 0x1000c0da
add eax, eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x198], 0x840
mov eax, dword [0x1003d42c]
test eax, eax
je 0x1000c108
mov eax, dword [ebp - 0xb4]
test ah, 0x40
je 0x1000c108
mov dword [ebp - 0x198], 0x4040
xor edi, edi
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x184], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x208]
push edx
push eax
call dword [ecx + 0x90]
test eax, eax
jl 0x1000c1cc
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax]
lea edx, [ebp - 0x204]
push edx
push 0x100242e0
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax]
push eax
jge 0x1000c19e
call dword [ecx + 8]
push esi
call fcn.100068a0
mov edx, dword [ebp - 0x140]
push edx
call fcn.100068b0
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000c180
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000c18d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [ecx + 8]
mov eax, dword [ebp - 0x204]
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
mov eax, dword [ebp - 0x204]
jge 0x1000c1db
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
call fcn.100068a0
mov eax, dword [ebp - 0x140]
push eax
jmp 0x1000c16b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x184]
mov dword [0x1003d428], edx
mov eax, dword [ebp - 0x150]
test eax, eax
jne 0x1000c1fd
mov eax, dword [ebp - 0x14c]
test ebx, ebx
jne 0x1000c207
mov ebx, dword [ebp - 0x148]
sub eax, dword [ebp - 0x14c]
mov dword [ebp - 0x168], eax
sub ebx, dword [ebp - 0x148]
mov ecx, ebx
mov dword [ebp - 0x164], ecx
mov edi, dword [ebp - 0x134]
add eax, edi
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x124]
add ecx, eax
mov dword [ebp - 0x15c], ecx
mov ecx, dword [edx]
push 0
push 0x1000000
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push edx
call dword [ecx + 0x14]
test eax, eax
jge 0x1000c26f
push esi
call fcn.100068a0
mov ecx, dword [ebp - 0x140]
push ecx
jmp 0x1000c16b
mov ebx, dword [0x1003d278]
mov dword [ebp - 0x144], ebx
push ebx
mov edx, dword [ebp - 0x130]
push edx
call fcn.1000b480
add esp, 8
mov dword [ebp - 0x158], eax
test eax, eax
je 0x1000c503
mov edx, dword [0x1003d428]
mov dword [ebp - 0x20c], edx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x288]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x288], 0x7c
mov eax, dword [edx]
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x288]
push ecx
push edi
push edx
call dword [eax + 0x64]
test eax, eax
jne 0x1000c4f6
push ebx
mov edx, dword [ebp - 0x158]
push edx
call fcn.1000b590
add esp, 8
test eax, eax
je 0x1000c4e6
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x29c], ecx
lea edx, [esi + 0x24]
mov dword [ebp - 0x294], edx
mov eax, dword [esi + 0x14]
shl eax, 2
mov dword [ebp - 0x2a0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2a4], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x2b0], ecx
mov dword [esi + 0x20], edi
cmp dword [ebp - 0x234], 0x10
jne 0x1000c349
mov dword [esi + 0x20], 1
cmp ebx, edi
jne 0x1000c350
mov dword [esi + 0x20], edi
mov dword [ebp - 0x2a8], edi
cmp eax, edi
jbe 0x1000c4c7
jmp 0x1000c366
mov ebx, dword [ebp - 0x144]
cmp dword [ebp - 0x234], 0x10
jne 0x1000c467
test ebx, ebx
jne 0x1000c441
xor eax, eax
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2b0]
test ecx, ecx
jbe 0x1000c48a
mov edx, dword [ebp - 0x298]
mov ax, word [edx + eax*2]
and eax, 0xffff
mov ecx, eax
shr ecx, 8
and ecx, 0xf8
mov ebx, eax
shr ebx, 3
and ebx, 0xfc
and eax, 0x1f
shl eax, 3
mov esi, eax
mov eax, ecx
xor edx, edx
mov edi, 0x1f
div edi
add ecx, eax
mov eax, ebx
xor edx, edx
mov edi, 0x3f
div edi
add ebx, eax
mov eax, esi
xor edx, edx
mov edi, 0x1f
div edi
add esi, eax
cmp ecx, 0xff
jbe 0x1000c3f2
mov ecx, 0xff
cmp ebx, 0xff
jbe 0x1000c3ff
mov ebx, 0xff
cmp esi, 0xff
jbe 0x1000c40c
mov esi, 0xff
xor edx, edx
mov dh, cl
mov dl, bl
shl edx, 8
and esi, 0xff
or edx, esi
mov ecx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x2c0]
mov dword [ecx + eax*4], edx
inc eax
mov dword [ebp - 0x2c0], eax
cmp eax, dword [ebp - 0x2b0]
jb 0x1000c391
jmp 0x1000c48a
mov edx, dword [ebp - 0x2b0]
lea ecx, [edx*4]
shr ecx, 1
mov esi, dword [ebp - 0x298]
mov edi, dword [ebp - 0x294]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x1000c485
mov ecx, dword [ebp - 0x2b0]
shl ecx, 2
mov esi, dword [ebp - 0x298]
mov edi, dword [ebp - 0x294]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x29c]
add dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x2a0]
add dword [ebp - 0x294], ecx
mov eax, dword [ebp - 0x2a8]
inc eax
mov dword [ebp - 0x2a8], eax
cmp eax, dword [ebp - 0x2a4]
jb 0x1000c360
mov esi, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c], 1
push ebx
mov edx, dword [ebp - 0x158]
push edx
call fcn.1000b5c0
add esp, 8
xor edi, edi
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x80]
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.100068a0
mov eax, dword [ebp - 0x140]
push eax
call fcn.100068b0
add esp, 8
jmp 0x1000c545
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov esi, dword [ebp + 0xc]
jmp 0x1000bf72