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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.100b9280
movzx eax, al
cmp eax, 1
jne 0x100ba240
xor al, al
jmp 0x100ba9c0
cmp dword [ebp + 8], 0x201
jne 0x100ba370
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 0x10]
push ecx
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0xc]
push edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 8]
push eax
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 4]
push ecx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx edx, al
test edx, edx
je 0x100ba2db
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cmp dword [edx], 0
je 0x100ba2db
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
mov dword [edx], 2
mov eax, 4
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0x10]
push eax
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 0xc]
push ecx
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 8]
push edx
mov eax, 4
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 4]
push eax
mov ecx, 0x101b9e10
call fcn.1012e280
movzx ecx, al
test ecx, ecx
je 0x100ba369
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cmp dword [ecx], 0
je 0x100ba369
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
mov dword [ecx], 2
mov al, 1
jmp 0x100ba9c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x104e1550]
cmp eax, 0xc8
jae 0x100ba38a
xor al, al
jmp 0x100ba9c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x104e1550], eax
cmp dword [ebp + 8], 0x202
je 0x100ba3a5
xor al, al
jmp 0x100ba9c0
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
mov dword [ecx], 1
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
mov dword [ecx], 1
mov ecx, 0x1053c320
call fcn.100eb5e0
movzx edx, al
test edx, edx
jne 0x100ba6b2
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0x10]
push eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 0xc]
push ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 8]
push edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 4]
push eax
mov ecx, 0x101b9e10
call fcn.1012e280
movzx ecx, al
test ecx, ecx
je 0x100ba55a
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cmp dword [ecx], 0
je 0x100ba55a
movss xmm0, dword [0x1019f0e8]
movss dword [0x101b6cc4], xmm0
movss xmm0, dword [0x1019f0e8]
movss dword [0x101b6cc0], xmm0
mov edx, 0x482b70
call edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x7f78
call fcn.100eb610
mov eax, 0x482b70
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x8490
push ecx
mov edx, 0x483b20
mov ecx, dword [ebp - 8]
call edx
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x8490
mov eax, 0x402d40
call eax
mov byte [0x7bd0483], 0
movzx ecx, byte [0x7bd0483]
mov edx, dword [ebp - 8]
mov dword [edx + 0x8ee0], ecx
mov ecx, dword [ebp - 8]
add ecx, 0x8490
mov eax, 0x403700
call eax
mov ecx, 4
imul ecx, ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
mov dword [eax], 0
mov ecx, 4
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
mov dword [eax], 0
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
mov dword [eax], 1
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
mov dword [eax], 1
push 0
push 0
push 0x1b
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
cmp dword [0xe60b4c], 0xffffffff
je 0x100ba6ad
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0x10]
push edx
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0xc]
push eax
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 8]
push ecx
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 4]
push edx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx eax, al
test eax, eax
je 0x100ba611
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cmp dword [eax], 0
je 0x100ba611
mov ecx, 0x482b70
call ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x7f60
mov edx, 0x405b10
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 0x10]
push ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0xc]
push edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 8]
push eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 4]
push ecx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx edx, al
test edx, edx
je 0x100ba6ad
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cmp dword [edx], 0
je 0x100ba6ad
push 0
mov eax, 0x4d6a60
call eax
add esp, 4
push 0
push 0
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
jmp 0x100ba9be
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0x10]
push edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0xc]
push eax
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 8]
push ecx
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 4]
push edx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx eax, al
test eax, eax
je 0x100ba787
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cmp dword [eax], 0
je 0x100ba787
movzx ecx, byte [0x7bd0483]
test ecx, ecx
jle 0x100ba746
movzx edx, byte [0x7bd0483]
sub edx, 1
mov byte [0x7bd0483], dl
mov eax, 0x482b70
call eax
mov dword [ebp - 0xc], eax
movzx ecx, byte [0x7bd0483]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x8ee0], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x8490
mov eax, 0x403700
call eax
push 0
push 0
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0x10]
push edx
mov eax, 4
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0xc]
push eax
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 8]
push ecx
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 4]
push edx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx eax, al
test eax, eax
je 0x100ba85f
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cmp dword [eax], 0
je 0x100ba85f
movzx ecx, byte [0x7bd0483]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx + 0x24]
jge 0x100ba81e
movzx eax, byte [0x7bd0483]
add eax, 1
mov byte [0x7bd0483], al
mov ecx, 0x482b70
call ecx
mov dword [ebp - 0x10], eax
movzx edx, byte [0x7bd0483]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8ee0], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x8490
mov edx, 0x403700
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
mov ecx, 4
imul ecx, ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 0x10]
push ecx
mov edx, 4
imul edx, edx, 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0xc]
push edx
mov eax, 4
imul eax, eax, 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 8]
push eax
mov ecx, 4
imul ecx, ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 4]
push ecx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx edx, al
test edx, edx
je 0x100ba917
mov eax, 4
imul eax, eax, 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cmp dword [edx], 0
je 0x100ba917
mov eax, 0x482b70
call eax
mov dword [ebp - 0x18], eax
mov ecx, 0x482b70
call ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
add edx, 0x8490
push edx
mov eax, 0x483b50
mov ecx, dword [ebp - 0x1c]
call eax
push 0
push 0
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
mov edx, 4
imul edx, edx, 6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 0x10]
push edx
mov eax, 4
imul eax, eax, 6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
cvttss2si eax, dword [edx + 0xc]
push eax
mov ecx, 4
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cvttss2si ecx, dword [eax + 8]
push ecx
mov edx, 4
imul edx, edx, 6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 4]
cvttss2si edx, dword [ecx + 4]
push edx
mov ecx, 0x101b9e10
call fcn.1012e280
movzx eax, al
test eax, eax
je 0x100ba9be
mov ecx, 4
imul ecx, ecx, 6
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
cmp dword [eax], 0
je 0x100ba9be
mov ecx, 0x482b70
call ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x8490
mov edx, 0x403e00
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
mov al, 1
jmp 0x100ba9c0
xor al, al
mov esp, ebp
pop ebp
ret 4