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

Disassembly:
sub esp, 0x11c
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
jne 0x10b8068c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov esi, dword [esp + 0x130]
cmp esi, edi
jne 0x10b806a4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
call fcn.10bd19f0
test eax, eax
push ebx
je 0x10b806b6
call dword [sym.imp.MSVCRT.dll__mbslwr]
jmp 0x10b806bc
call dword [sym.imp.MSVCRT.dll__strlwr]
mov eax, dword [esp + 0x140]
add esp, 4
cmp eax, edi
je 0x10b806de
cmp eax, 0x200
jae 0x10b806de
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
cmp eax, 0xfa00
jbe 0x10b806f0
mov dword [esp + 0x13c], 0xfa00
mov edi, dword [esp + 0x138]
cmp edi, 1
je 0x10b80713
cmp edi, 2
je 0x10b80713
cmp edi, 3
je 0x10b80713
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
push edi
push ebx
call fcn.10bc4850
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
jne 0x10b807c7
cmp edi, 2
je 0x10b80736
cmp edi, 3
jne 0x10b80967
mov eax, dword [esp + 0x140]
test eax, eax
je 0x10b80967
lea eax, [esp + 0x20]
push 0x4000
push eax
push ebx
call sym.PBVM90.dll_osOpenFile
cmp eax, 0xffffffff
jne 0x10b80767
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
xor dl, dl
shr esi, 6
cmp dl, 5
jae 0x10b80799
call ebx
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, esi
cmp edx, 5
jb 0x10b80784
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x130]
push 0
push edx
push edi
push eax
push ecx
call fcn.10b80660
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
push esi
call fcn.10b3dc00
mov edx, dword [esp + 0x138]
add esp, 4
mov ebx, eax
push edx
mov dword [ebx + 0x318], ebp
mov dword [ebx + 0x36c], esi
call sym.PBVM90.dll_osIsApplicationOrLibrary
test eax, eax
je 0x10b808b5
push 0xfffffe00
push 2
push ebp
call fcn.10bc48c0
add esp, 0xc
lea eax, [esp + 0x18]
push 8
push eax
push ebp
call fcn.10bc48f0
add esp, 0xc
mov ecx, 4
mov edi, 0x10df1e94
lea esi, [esp + 0x18]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10b80832
mov esi, dword [esp + 0x14]
mov eax, 1
jmp 0x10b8083b
mov eax, dword [esp + 0x10]
mov esi, 1
test eax, eax
je 0x10b80878
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x138]
mov dword [ebx + 0x324], eax
mov eax, 1
cmp ecx, eax
mov dword [ebx + 8], eax
je 0x10b80895
push ebp
call fcn.10bc4840
sub eax, esi
add esp, 4
sub eax, 0x200
push eax
push ebp
call fcn.10bc4950
add esp, 8
jmp 0x10b80895
mov ecx, dword [esp + 0x134]
push ecx
call sym.PBVM90.dll_osIsApplication
test eax, eax
je 0x10b80895
mov edx, dword [0x10e2cdc8]
mov dword [ebx + 0x324], edx
mov eax, dword [ebx + 0x324]
push eax
push 3
push ebp
call fcn.10bc48c0
mov edi, dword [esp + 0x144]
mov esi, dword [esp + 0x13c]
add esp, 0xc
push 0
push 0x1000
push esi
call sym.PBVM90.dll_pbstg_alc
push 0x800
push eax
push ebp
mov dword [ebx + 0x358], eax
call fcn.10bc48f0
add esp, 0xc
cmp eax, 0xfffffffd
jne 0x10b808ef
push ebx
call sym.PBVM90.dll_LMI_CloseLibrary
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
call fcn.10bd19f0
test eax, eax
je 0x10b80912
mov ecx, dword [ebx + 0x358]
push 0x10df1e9c
add ecx, 4
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
jmp 0x10b8093e
mov esi, dword [ebx + 0x358]
mov edi, 0x10df1eac
add esi, 4
mov ecx, 0xd
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10b80930
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x130]
test eax, eax
push ebx
je 0x10b80955
call sym.PBVM90.dll_LMI_CloseLibrary
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
call fcn.10b3e830
add esp, 4
test eax, eax
jne 0x10b80974
push ebx
call sym.PBVM90.dll_LMI_CloseLibrary
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov eax, dword [ebx + 0x358]
mov ecx, dword [esp + 0x13c]
mov dword [ebx + 0x384], edi
lea edx, [eax + 0x200]
add eax, 0x400
test ecx, ecx
mov dword [ebx + 0x354], edx
mov dword [ebx + 0x364], eax
jne 0x10b809a7
mov ecx, 0x4000
mov eax, ecx
push 0
shr eax, 9
mov dword [ebx + 0x32c], eax
mov dword [ebx + 0x38c], ecx
lea eax, [ecx + eax*4]
push eax
push esi
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [ebx + 0x38c]
mov dword [ebx + 0x338], eax
add eax, ecx
pop edi
mov dword [ebx + 0x368], eax
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x11c
ret