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

Disassembly:
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xfffffffffffffffe
push 0x10189110
push 0x100f4910
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
push ebx
push esi
push edi
mov eax, dword [0x101a42b4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, dword [ebp + 0x34]
mov ebx, edx
test ah, ah
xor eax, eax
mov dword [ebp + 0x24], eax
test dl, dl
mov dword [ebp + 0x28], eax
test eax, 0x50bc
call fcn.100b3100
xchg ebx, eax
xchg ebx, eax
call fcn.100b3aa0
push ebx
pop ebx
test edi, edi
jne 0x100b78ec
mov cl, cl
jmp 0x100b8121
mov eax, dword [ebx]
lea ecx, [ebp + 0x24]
push ecx
push 0x10159a38
push ebx
mov edx, dword [eax]
call edx
mov bl, bl
mov eax, dword [edi]
lea ecx, [ebp + 0x28]
push ecx
push 0x10159a38
push edi
mov edx, dword [eax]
call edx
mov esi, esi
cmp dword [ebp + 0x28], 0
je 0x100b811f
cmp dword [ebp + 0x24], 0
je 0x100b811f
test eax, 0xa26
mov edi, 0x7c
push edi
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.100f4ed0
add esp, 0xc
push ecx
pop ecx
push edi
push 0
lea ecx, [ebp - 0x94]
push ecx
call fcn.100f4ed0
add esp, 0xc
mov esi, esi
mov dword [ebp - 0x110], edi
test edx, edx
mov dword [ebp - 0x94], edi
test ah, ah
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x110]
push ecx
push eax
mov edx, dword [edx + 0x58]
call edx
test ch, ch
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
test edx, edx
test dword [ebp - 0xa8], 0x200
je 0x100b8121
test esi, esi
jne 0x100b79aa
mov ebx, dword [ebp - 0x104]
jmp 0x100b79af
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
mov dword [ebp - 0x1c4], ebx
test eax, eax
test esi, esi
jne 0x100b79c3
mov edi, dword [ebp - 0x108]
jmp 0x100b79c9
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [ebp - 0x1bc], edi
test edi, edi
mov edx, dword [ebp + 0x38]
test edx, edx
jne 0x100b79e0
mov ecx, dword [ebp - 0x88]
jmp 0x100b79e5
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
mov dword [ebp - 0x1c0], ecx
mov bl, bl
test edx, edx
jne 0x100b79f9
mov eax, dword [ebp - 0x8c]
jmp 0x100b79ff
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x1c8], eax
mov bl, bl
cmp ebx, ecx
je 0x100b7a12
push ebx
pop ebx
jmp 0x100b8121
cmp edi, eax
je 0x100b7a1d
mov ah, ah
jmp 0x100b8121
test ebx, ebx
test byte [ebp - 0x48], 0x40
jne 0x100b7a2c
mov bl, bl
jmp 0x100b8121
mov eax, dword [ebp - 0x40]
cmp eax, 0x20
je 0x100b7a3f
cmp eax, 0x10
je 0x100b7a3f
nop
jmp 0x100b8121
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov al, al
test dh, dh
mov al, al
mov dword [ebp - 0x11c], 0
jmp 0x100b7a60
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [0x102b9a4c]
jg 0x100b8121
test esi, esi
jne 0x100b7a7e
mov dword [ebp - 0x114], esi
jmp 0x100b7a86
mov edx, dword [esi]
mov dword [ebp - 0x114], edx
test bl, bl
test esi, esi
jne 0x100b7a90
xor ebx, ebx
jmp 0x100b7a93
mov ebx, dword [esi + 4]
test cl, cl
mov eax, dword [ebp - 0x11c]
push eax
call fcn.100b2f80
add esp, 4
mov edi, eax
mov dword [ebp - 0x118], edi
mov ecx, ecx
test edi, edi
jne 0x100b7abd
mov dh, dh
add dword [ebp - 0x11c], 1
jmp 0x100b7a60
push 0
push 0
push 0
push 6
push edi
call fcn.100a2140
mov esi, eax
mov dword [ebp - 0x1cc], esi
mov bh, bh
test esi, esi
jne 0x100b7af1
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ecx, ecx
mov esi, dword [ebp + 0x34]
add dword [ebp - 0x11c], 1
jmp 0x100b7a60
mov ah, ah
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov cl, cl
mov dword [ebp - 4], eax
mov edi, dword [esi + 0xc]
test ebx, ebx
lea ecx, [ebp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
test al, al
mov bh, bh
lea edx, [ebp - 0x134]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
test edx, edx
push edi
call fcn.10036740
add esp, 4
test dh, dh
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100b7b8a
mov eax, dword [ebp - 0x12c]
cmp eax, dword [esi + 0x14]
jne 0x100b7b50
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [esi + 0x18]
je 0x100b7b8a
mov eax, dword [0x102ba410]
xor edi, edi
cmp eax, edi
je 0x100b7b72
test eax, 0x1fcd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov cl, cl
mov dword [0x102ba410], edi
mov ebp, ebp
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x14], ecx
mov ah, ah
mov edx, dword [ebp - 0x128]
mov dword [esi + 0x18], edx
push ebx
pop ebx
jmp 0x100b7b8c
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
cmp dword [0x102ba410], edi
jne 0x100b7d27
mov esi, esi
push 0x7c
push edi
lea eax, [ebp - 0x1b8]
push eax
call fcn.100f4ed0
add esp, 0xc
test dl, dl
mov dword [ebp - 0x1b8], 0x7c
mov ebp, ebp
mov dword [ebp - 0x1b4], 7
test ebx, ebx
mov eax, dword [esi + 0x14]
cmp dword [ebp - 0x1c4], eax
ja 0x100b7be2
mov dword [ebp - 0x1ac], eax
push ecx
pop ecx
jmp 0x100b7bed
lea ecx, [eax + eax]
mov dword [ebp - 0x1ac], ecx
mov bh, bh
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x1bc], eax
ja 0x100b7c02
mov dword [ebp - 0x1b0], eax
push edx
pop edx
jmp 0x100b7c0d
lea edx, [eax + eax]
mov dword [ebp - 0x1b0], edx
mov esi, esi
test ecx, ecx
mov dword [ebp - 0x150], 0x840
mov bl, bl
cmp dword [0x102ba414], edi
je 0x100b7c3b
test dword [ebp - 0x2c], 0x4000
je 0x100b7c3b
mov dword [ebp - 0x150], 0x4040
test eax, 0x398
mov dword [ebp + 0x14], edi
test eax, 0x4f4b
mov dword [ebp + 0x18], edi
mov bh, bh
mov dword [ebp + 0x10], edi
push edx
pop edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
push ebx
pop ebx
cmp eax, edi
jge 0x100b7c86
test eax, 0x271c
push esi
call fcn.100a2170
test bl, bl
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test bl, bl
jmp 0x100b8121
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
lea ecx, [ebp + 0x18]
push ecx
push 0x101599e8
push eax
mov edx, dword [edx]
call edx
mov ch, ch
cmp eax, edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
jge 0x100b7cca
call edx
mov dl, dl
push esi
call fcn.100a2170
mov bl, bl
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
test dl, dl
jmp 0x100b8121
call edx
test ecx, ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x1b8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test dl, dl
cmp eax, edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
jge 0x100b7d16
call edx
test cl, cl
push esi
call fcn.100a2170
mov dl, dl
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test dh, dh
test cl, cl
jmp 0x100b8121
call edx
mov dl, dl
mov eax, dword [ebp + 0x10]
mov dword [0x102ba410], eax
test eax, 0x5c0f
mov eax, dword [ebp - 0x114]
cmp eax, edi
jne 0x100b7d36
mov eax, dword [ebp + 0x1c]
mov ebp, ebp
cmp ebx, edi
jne 0x100b7d42
mov ebx, dword [ebp + 0x20]
test eax, 0x42e8
mov bh, bh
sub eax, dword [ebp + 0x1c]
mov dword [ebp], eax
test esi, esi
sub ebx, dword [ebp + 0x20]
mov dword [ebp + 4], ebx
test eax, eax
mov ecx, dword [ebp]
mov edx, dword [ebp - 0x1c0]
add ecx, edx
mov dword [ebp + 8], ecx
mov ecx, ecx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp - 0x1c8]
add eax, ecx
mov dword [ebp + 0xc], eax
push eax
pop eax
mov eax, dword [0x102ba410]
mov edx, dword [eax]
push edi
push 0x1000000
mov ecx, dword [ebp + 0x38]
push ecx
mov ecx, dword [ebp + 0x28]
push ecx
lea ecx, [ebp]
push ecx
push eax
mov edx, dword [edx + 0x14]
call edx
mov bh, bh
cmp eax, edi
jge 0x100b7db7
push esi
call fcn.100a2170
test ebx, ebx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
mov ah, ah
jmp 0x100b8121
mov eax, dword [0x102ba280]
mov dword [ebp - 0x114], eax
mov edi, edi
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.100b2db0
add esp, 8
mov edi, eax
mov dword [ebp - 0x1dc], edi
mov ebp, ebp
test edi, edi
je 0x100b80ba
mov ebx, dword [0x102ba410]
mov dword [ebp - 0x1d8], ebx
mov edi, edi
test bl, bl
push 0x7c
push 0
lea edx, [ebp - 0x1b8]
push edx
call fcn.100f4ed0
add esp, 0xc
mov dh, dh
mov dword [ebp - 0x1b8], 0x7c
mov ch, ch
mov eax, dword [ebx]
push 0
push 1
lea ecx, [ebp - 0x1b8]
push ecx
push 0
push ebx
mov edx, dword [eax + 0x64]
call edx
test eax, 0xe5
test eax, eax
jne 0x100b80af
mov eax, dword [ebp - 0x114]
push eax
push edi
call fcn.100b2f20
add esp, 8
test eax, eax
je 0x100b809e
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x124], ecx
nop
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1e0], edx
test eax, eax
lea eax, [esi + 0x24]
mov dword [ebp - 0x120], eax
push ebx
pop ebx
mov eax, dword [esi + 0x14]
add eax, eax
add eax, eax
mov dword [ebp - 0x1d4], eax
mov dh, dh
mov ah, ah
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov al, al
mov ebp, ebp
test dh, dh
push ecx
pop ecx
mov eax, dword [esi + 0x18]
mov ah, ah
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x13c], ecx
nop
mov bh, bh
xor ecx, ecx
mov dword [esi + 0x20], ecx
test al, al
cmp dword [ebp - 0x164], 0x10
jne 0x100b7ec0
mov dword [esi + 0x20], 1
test bl, bl
cmp dword [ebp - 0x114], ecx
jne 0x100b7ecd
mov dword [esi + 0x20], ecx
test ebx, ebx
cmp eax, ecx
jbe 0x100b8064
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x164], 0x10
jne 0x100b8018
cmp dword [ebp - 0x114], 0
jne 0x100b7ff1
test al, al
xor edi, edi
cmp dword [ebp - 0x13c], edi
jbe 0x100b803b
mov edx, dword [ebp - 0x124]
movzx eax, word [edx + edi*2]
mov ah, ah
movzx eax, ax
mov ecx, eax
shr ecx, 8
and ecx, 0xf8
push edx
pop edx
mov ebx, eax
shr ebx, 3
and ebx, 0xfc
mov dl, dl
and eax, 0x1f
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x138], eax
test ecx, ecx
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
add ecx, eax
test ah, ah
mov eax, 0x4104105
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
add ebx, eax
test eax, 0x26b6
mov eax, 0x8421085
mul dword [ebp - 0x138]
mov esi, edx
mov eax, dword [ebp - 0x138]
mov edx, eax
sub edx, esi
shr edx, 1
add edx, esi
shr edx, 4
add eax, edx
test dl, dl
cmp ecx, 0xff
jbe 0x100b7f9f
mov ecx, 0xff
test eax, eax
cmp ebx, 0xff
jbe 0x100b7fae
mov ebx, 0xff
mov esi, esi
cmp eax, 0xff
jbe 0x100b7fc7
mov dword [ebp - 0x138], 0xff
mov dl, dl
mov eax, dword [ebp - 0x138]
xor edx, edx
mov dh, cl
mov dl, bl
shl edx, 8
movzx eax, al
or edx, eax
mov ecx, dword [ebp - 0x120]
mov dword [ecx + edi*4], edx
test eax, eax
add edi, 1
cmp edi, dword [ebp - 0x13c]
jb 0x100b7f05
jmp 0x100b803b
mov eax, dword [ebp - 0x13c]
add eax, eax
add eax, eax
shr eax, 1
push eax
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.100f61f0
add esp, 0xc
mov ecx, ecx
jmp 0x100b803b
mov eax, dword [ebp - 0x13c]
add eax, eax
add eax, eax
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call fcn.100f61f0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp - 0x1e0]
add dword [ebp - 0x124], eax
test eax, eax
mov ecx, dword [ebp - 0x1d4]
add dword [ebp - 0x120], ecx
mov ebx, ebx
sub dword [ebp - 0x1d0], 1
jne 0x100b7edb
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, ecx
test eax, 0x6e19
mov esi, dword [ebp - 0x1cc]
mov dword [esi + 0x1c], 1
mov al, al
mov edx, dword [ebp - 0x114]
push edx
mov edi, dword [ebp - 0x1dc]
push edi
call fcn.100b2f50
add esp, 8
test edx, edx
mov ebx, dword [ebp - 0x1d8]
mov eax, dword [ebx]
push 0
push ebx
mov ecx, dword [eax + 0x80]
call ecx
test ch, ch
jmp 0x100b80b1
mov bl, bl
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
push esi
call fcn.100a2170
test ah, ah
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, 0x679a
mov esi, dword [ebp + 0x34]
add dword [ebp - 0x11c], 1
jmp 0x100b7a60
test ah, ah
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100b8132
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x100b8143
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
test eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x2c
mov esp, ebp
pop ebp
ret