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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
cmp dword [0x10317798], 3
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x100baba3
cmp dword [0x10317780], 0
je 0x100baba3
mov edx, 5
mov dword [esp + 0x10], 0x51bf05c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x14], 0
call fcn.100bae10
cmp byte [0x1030ed3d], 0
jne 0x100babfc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1031779c], 0
mov dword [0x10317798], 0
call esi
mov dword [0x10317794], eax
call esi
mov dword [0x10317790], eax
mov dword [0x1031778c], 0
mov dword [0x10317788], 0
mov dword [0x10317784], 0
mov dword [0x10317780], 0
mov eax, dword [edi + 0x48]
xor ecx, ecx
mov dword [0x1031562c], eax
mov eax, dword [edi + 0x4c]
mov dword [0x10317650], eax
mov eax, dword [edi + 0x50]
mov dword [0x10317680], eax
mov eax, dword [edi + 0x54]
mov dword [0x10317684], eax
mov eax, dword [edi + 0x58]
mov dword [0x10317678], eax
mov eax, dword [edi + 0x5c]
mov dword [0x1031767c], eax
mov eax, dword [edi + 0x60]
mov dword [0x10317668], eax
mov eax, dword [edi + 0x64]
mov dword [0x1031766c], eax
mov eax, dword [edi + 0x68]
mov dword [0x10317670], eax
mov eax, dword [edi + 0x6c]
mov dword [0x10317674], eax
mov eax, dword [edi + 0x70]
mov dword [0x10317614], eax
mov eax, dword [edi + 0x74]
mov dword [0x10317610], eax
mov eax, dword [edi + 0x78]
mov dword [0x1031760c], eax
mov eax, dword [edi + 0x7c]
mov dword [0x10317608], eax
mov eax, dword [edi + 0x80]
mov dword [0x10317604], eax
mov eax, dword [0x7bc4f04]
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x100bac9e
jmp dword [eax*4 + 0x100bade8]
cmp dword [0x10241e50], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e54], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e58], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e5c], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e60], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e64], 0xffff
jmp 0x100bacf7
cmp dword [0x10241e68], 0xffff
sbb al, al
and al, 9
add al, 6
movzx eax, al
push eax
push 0x556c38
call fcn.10097e20
add esp, 8
mov ecx, 0x10241d5b
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bad16
sub ecx, edx
je 0x100bad87
push ecx
push 0x10241d5b
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], al
call fcn.1000db00
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp edi, 0x10
mov eax, dword [esp + 0x28]
cmovae edx, ecx
mov dword [esp + 0xc], 1
test eax, eax
je 0x100bad8f
lea esi, [eax + edx]
mov eax, edx
cmp edx, esi
jae 0x100bad8f
nop
cmp byte [eax], 0x20
jne 0x100bad7c
inc eax
cmp eax, esi
jb 0x100bad70
jmp 0x100bad8f
sub eax, edx
cmp eax, 0xffffffff
je 0x100bad8f
xor bl, bl
jmp 0x100bad91
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov bl, 1
test byte [esp + 0xc], 1
je 0x100badc4
cmp edi, 0x10
jb 0x100badc4
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100badba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bade2
push edx
push ecx
call fcn.100e3844
add esp, 8
test bl, bl
je 0x100baddb
cmp byte [0x10242127], 0
jne 0x100baddb
mov ecx, 0x1019c180
call fcn.1002f350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1013a639
nop
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
or edx, dword [eax]
mov cl, 0xac
or edx, dword [eax]
mov ebp, 0xc9100bac
lodsb al, byte [esi]
or edx, dword [eax]
aad 0xac
or edx, dword [eax]
loope 0x100badaa
or edx, dword [eax]
in eax, dx
lodsb al, byte [esi]
or edx, dword [eax]
int3