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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024388
push 0x10019790
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.1000b320
call fcn.10008300
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000bdf3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x10024328
push eax
call dword [ecx]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x10024328
push esi
call dword [eax]
cmp dword [ebp - 0x1c], ebx
je 0x1000bdf3
mov edx, dword [ebp - 0x24]
cmp edx, ebx
je 0x1000bdf3
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 0x1000bdf3
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x1000bb5e
mov ebx, dword [ebp - 0x94]
jmp 0x1000bb63
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
mov dword [ebp - 0x12c], ebx
test esi, esi
jne 0x1000bb75
mov edi, dword [ebp - 0x98]
jmp 0x1000bb7b
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [ebp - 0x120], edi
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1000bb90
mov edx, dword [ebp - 0x110]
jmp 0x1000bb95
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [ebp - 0x134], edx
test eax, eax
jne 0x1000bba7
mov ecx, dword [ebp - 0x114]
jmp 0x1000bbad
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x124], ecx
cmp ebx, edx
jne 0x1000bdf3
cmp edi, ecx
jne 0x1000bdf3
test byte [ebp - 0xd0], 0x40
je 0x1000bdf3
mov eax, dword [ebp - 0xc8]
cmp eax, 0x20
je 0x1000bbe4
cmp eax, 0x10
jne 0x1000bdf3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, eax
mov dword [ebp - 0x130], eax
cmp eax, dword [0x1003ca04]
jg 0x1000bdf3
xor ebx, ebx
cmp esi, ebx
jne 0x1000bc0c
mov dword [ebp - 0x150], ebx
jmp 0x1000bc14
mov edx, dword [esi]
mov dword [ebp - 0x150], edx
cmp esi, ebx
je 0x1000bc1b
mov ebx, dword [esi + 4]
push eax
call fcn.1000b260
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
je 0x1000c1c5
mov eax, dword [ebp - 0x130]
push eax
mov edi, dword [ebp - 0x140]
push edi
call fcn.10006710
add esp, 8
mov esi, eax
mov dword [ebp - 0x13c], esi
xor eax, eax
cmp esi, eax
jne 0x1000bc64
push edi
call fcn.10006740
add esp, 4
jmp 0x1000c1c5
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 0x1000bcf9
mov eax, dword [ebp - 0x170]
cmp eax, dword [esi + 0x14]
jne 0x1000bcc8
mov ecx, dword [ebp - 0x16c]
cmp ecx, dword [esi + 0x18]
je 0x1000bcf9
mov eax, dword [0x1003d3e0]
test eax, eax
je 0x1000bce7
mov dword [ebp - 0x180], eax
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [0x1003d3e0], 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 [0x1003d3e0]
test edx, edx
jne 0x1000be6d
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 0x1000bd44
mov dword [ebp - 0x1f4], eax
jmp 0x1000bd4d
lea edx, [eax + eax]
mov dword [ebp - 0x1f4], edx
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x120], eax
jbe 0x1000bd5a
add eax, eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x198], 0x840
mov eax, dword [0x1003d3e4]
test eax, eax
je 0x1000bd88
mov eax, dword [ebp - 0xb4]
test ah, 0x40
je 0x1000bd88
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 0x1000be4c
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax]
lea edx, [ebp - 0x204]
push edx
push 0x100242d8
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax]
push eax
jge 0x1000be1e
call dword [ecx + 8]
push esi
call fcn.10006730
mov edx, dword [ebp - 0x140]
push edx
call fcn.10006740
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000be00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000be0d
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 0x1000be5b
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
call fcn.10006730
mov eax, dword [ebp - 0x140]
push eax
jmp 0x1000bdeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x184]
mov dword [0x1003d3e0], edx
mov eax, dword [ebp - 0x150]
test eax, eax
jne 0x1000be7d
mov eax, dword [ebp - 0x14c]
test ebx, ebx
jne 0x1000be87
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 0x1000beef
push esi
call fcn.10006730
mov ecx, dword [ebp - 0x140]
push ecx
jmp 0x1000bdeb
mov ebx, dword [0x1003d238]
mov dword [ebp - 0x144], ebx
push ebx
mov edx, dword [ebp - 0x130]
push edx
call fcn.1000b100
add esp, 8
mov dword [ebp - 0x158], eax
test eax, eax
je 0x1000c183
mov edx, dword [0x1003d3e0]
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 0x1000c176
push ebx
mov edx, dword [ebp - 0x158]
push edx
call fcn.1000b210
add esp, 8
test eax, eax
je 0x1000c166
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 0x1000bfc9
mov dword [esi + 0x20], 1
cmp ebx, edi
jne 0x1000bfd0
mov dword [esi + 0x20], edi
mov dword [ebp - 0x2a8], edi
cmp eax, edi
jbe 0x1000c147
jmp 0x1000bfe6
mov ebx, dword [ebp - 0x144]
cmp dword [ebp - 0x234], 0x10
jne 0x1000c0e7
test ebx, ebx
jne 0x1000c0c1
xor eax, eax
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2b0]
test ecx, ecx
jbe 0x1000c10a
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 0x1000c072
mov ecx, 0xff
cmp ebx, 0xff
jbe 0x1000c07f
mov ebx, 0xff
cmp esi, 0xff
jbe 0x1000c08c
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 0x1000c011
jmp 0x1000c10a
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 0x1000c105
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 0x1000bfe0
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.1000b240
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.10006730
mov eax, dword [ebp - 0x140]
push eax
call fcn.10006740
add esp, 8
jmp 0x1000c1c5
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov esi, dword [ebp + 0xc]
jmp 0x1000bbf2