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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 4]
push esi
push edi
push 1
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ecx
pop esi
je 0x30093ddd
cmp dword [ebp + 0x14], 5
je 0x30093ddd
mov eax, dword [0x3017e478]
cmp eax, ebx
je 0x30093ddd
mov dword [ebp - 0x24], ebx
cmp dword [eax + 0x14], ebx
jne 0x30093d44
mov ecx, dword [0x3017e474]
lea eax, [eax + ecx - 0x1000]
mov dword [ebp - 8], eax
mov eax, dword [0x3017f120]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push ebx
mov dword [0x3017f120], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ebx
mov dword [0x3017e480], esi
push eax
call fcn.30001d18
mov esi, dword [ebp - 0x38]
pop ecx
mov edi, eax
cmp edi, ebx
mov ebx, dword [ebp - 0x30]
pop ecx
je 0x30093e40
mov eax, dword [0x3017e478]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x30093d94
and dword [eax], 0
mov eax, ebx
shl eax, 2
push eax
push ecx
call dword [0x3017ba7c]
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x30093db3
cmp dword [ebp - 0x2c], eax
je 0x30093db3
mov dword [0x3017f120], esi
mov ecx, dword [0x3017e468]
shl ecx, 2
push ecx
push dword [0x3017e464]
push eax
call fcn.30001448
and dword [0x3017e480], 0
push edi
mov dword [0x3017f120], esi
push esi
call fcn.3016b55f
push 0x43
pop eax
cmp ecx, eax
jl 0x30093e2d
add eax, 0x40
cmp ecx, eax
jl 0x30093e2d
mov eax, 0x101
cmp ecx, eax
jl 0x30093e2d
mov eax, 0x209
cmp ecx, eax
jl 0x30093e2d
mov eax, 0x407
cmp ecx, eax
jl 0x30093e2d
mov eax, 0x805
cmp ecx, eax
jl 0x30093e2d
mov eax, 0x1003
cmp ecx, eax
jl 0x30093e2d
xor eax, eax
cmp ecx, 0x2011
setge al
dec eax
and ax, 0xdff6
add eax, 0x401b
push eax
call fcn.3016ae84
mov eax, dword [0x3017e478]
mov dword [ebp - 0x24], esi
jmp 0x30093d32
xor eax, eax
cmp ebx, eax
jle 0x300944bf
mov ecx, dword [ebp - 0x30]
push 1
pop eax
mov esi, ecx
push eax
shl esi, 2
mov dword [ebp - 0x2c], eax
push esi
call fcn.30028bef
mov ecx, dword [0x3017e478]
push esi
mov dword [ecx], eax
mov eax, dword [0x3017e478]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x20], eax
push 0
call fcn.30001448
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [edi + 8]
add edi, eax
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x14], 0
mov ecx, dword [eax + 4]
lea ebx, [ecx + eax + 0x18]
mov ecx, dword [eax + 8]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x44], eax
jne 0x3009400f
cmp dword [0x30179b10], 0
jne 0x3009400f
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
je 0x30093ed9
call fcn.3000395f
mov ecx, dword [0x30179a6c]
add ecx, 0x1f
cmp eax, ecx
jbe 0x30093ed9
call fcn.3000395f
mov dword [0x30179a6c], eax
cmp esi, edi
jae 0x30094404
test byte [esi + 2], 8
lea eax, [esi + 2]
mov dword [ebp - 0x14], eax
je 0x30094018
mov ax, word [esi + 3]
mov word [ebp - 0x28], ax
push esi
call fcn.30167fe5
movzx ecx, word [ebp - 0x28]
and dword [ebp - 0x18], 0
cmp dword [0x30179b7c], 6
mov dword [ebp - 0x10], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + eax + 6]
jne 0x30093f33
cmp dword [0x3017d034], 0xbd5
jge 0x30093f33
cmp dword [ebp - 0x10], 0
je 0x30094021
mov eax, dword [ebp - 0x14]
test byte [eax], 4
je 0x30094021
xor ax, ax
cmp ax, word [ebp - 0x28]
mov dword [ebp - 0x40], 1
sbb eax, eax
and eax, 2
mov eax, dword [esi + eax + 3]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ebx + 4]
cmp eax, dword [ebp - 0x44]
ja 0x30093f6e
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0x100
jl 0x30093fa7
mov eax, dword [ebp - 8]
sub ebx, eax
sub ebx, 0x18
mov dword [eax + 4], ebx
push ecx
call fcn.3016af39
mov eax, dword [0x3017e478]
cmp dword [eax + 0x14], 0
jne 0x30093f97
mov ecx, dword [0x3017e474]
lea eax, [eax + ecx - 0x1000]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], eax
lea ebx, [eax + 0x18]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x44], eax
push 0
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
lea eax, [ebx + 4]
push eax
call fcn.3016ad7c
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
lea eax, [ebx + eax*2 + 8]
push eax
push esi
call fcn.30167de8
add esi, eax
mov eax, dword [ebp - 0x48]
sub dword [ebp - 0x10], eax
add dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x30094031
cmp dword [0x30179b10], 0
jne 0x3009402a
call fcn.30165fce
cmp eax, 0x3c
je 0x30094333
push 6
push dword [0x3017f120]
call fcn.3016b55f
and dword [ebp - 0x3c], 0
jmp 0x30093eb7
and dword [ebp - 0x28], 0
jmp 0x30093ef9
and dword [ebp - 0x40], 0
jmp 0x30093f59
call fcn.300bc460
jmp 0x30093ff9
cmp word [ebp - 0x28], 0
je 0x3009417c
cmp esi, edi
jb 0x300940af
cmp dword [0x30179b10], 0
jne 0x300942bb
call fcn.30165fce
cmp eax, 0x3c
jne 0x30094002
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x300942c5
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x300942cf
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x30094097
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jle 0x3009417c
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 4]
push eax
mov eax, edi
sub eax, esi
shr eax, 2
push eax
call fcn.30028c90
mov dword [ebp - 0x50], eax
shl eax, 2
push eax
push esi
lea eax, [ebx + 4]
push eax
call fcn.300944e5
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push eax
call fcn.3016b3bf
add esi, eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jge 0x30094170
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x300942d9
call fcn.30165fce
cmp eax, 0x3c
jne 0x30094002
cmp dword [0x30179b10], esi
jne 0x300942e3
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x300942ed
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x30094158
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], eax
jl 0x300940bd
cmp dword [ebp - 0x40], 0
je 0x30094396
cmp dword [ebp - 0x18], 0
jle 0x30094396
cmp esi, edi
jb 0x30094207
cmp dword [0x30179b10], 0
jne 0x300942f7
call fcn.30165fce
cmp eax, 0x3c
jne 0x30094002
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x30094301
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x3009430b
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x300941ef
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
movzx eax, word [esi + 2]
sub dword [ebp - 0x18], 4
add esi, 4
test eax, eax
mov dword [ebp - 4], eax
jle 0x30094186
cmp esi, edi
jb 0x30094294
cmp dword [0x30179b10], 0
jne 0x30094315
call fcn.30165fce
cmp eax, 0x3c
jne 0x30094002
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x3009431f
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x30094329
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x3009427c
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
mov eax, edi
sub eax, esi
push eax
push dword [ebp - 4]
call fcn.30028c90
sub dword [ebp - 4], eax
sub dword [ebp - 0x18], eax
add esi, eax
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
jle 0x30094186
jmp 0x3009421d
call fcn.300bc460
jmp 0x30094052
call fcn.300bc450
jmp 0x3009406a
call fcn.300bc402
jmp 0x30094082
call fcn.300bc460
jmp 0x30094111
call fcn.300bc450
jmp 0x3009412b
call fcn.300bc402
jmp 0x30094143
call fcn.300bc460
jmp 0x300941a6
call fcn.300bc450
jmp 0x300941c2
call fcn.300bc402
jmp 0x300941da
call fcn.300bc460
jmp 0x30094233
call fcn.300bc450
jmp 0x3009424f
call fcn.300bc402
jmp 0x30094267
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x30094388
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x3009438f
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x3009436b
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
jmp 0x30093fc4
call fcn.300bc450
jmp 0x30094342
call fcn.300bc402
jmp 0x30094356
cmp dword [ebp - 0x24], 0
je 0x300943dd
movzx eax, word [ebx + 4]
push eax
lea eax, [ebx + 0xa]
push eax
call fcn.3016b19e
mov dword [ebx], eax
mov ecx, dword [0x3017e464]
inc dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
lea eax, [ebx + 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 8]
push ebx
inc dword [eax + 0xc]
inc dword [ebp - 0x34]
call fcn.3016ae6e
mov ebx, eax
jmp 0x30093ed9
push 0
and dword [ebx], 0
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.3016b1e6
test eax, eax
jne 0x300943b8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
inc dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
jmp 0x30093ed9
cmp dword [0x30179b10], 0
jne 0x3009446c
call fcn.30165fce
cmp eax, 0x3c
jne 0x30094481
xor esi, esi
cmp dword [0x30179b10], esi
jne 0x30094473
call fcn.30165fce
cmp dword [0x30179b10], esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
jne 0x3009447a
call fcn.30166041
cmp dword [0x3017e45c], esi
je 0x3009444f
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3014df26
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x3017dfac]
lea edi, [esi + eax]
lea eax, [ecx + eax + 4]
mov dword [0x3017dfac], eax
jmp 0x30093eb7
call fcn.300bc460
jmp 0x30094412
call fcn.300bc450
jmp 0x30094426
call fcn.300bc402
jmp 0x3009443a
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
sub ebx, eax
sub ebx, 0x18
cmp dword [ebp - 0x24], 0
mov dword [eax + 4], ebx
je 0x300944a6
push dword [ebp - 0xc]
and dword [ebp - 0x2c], 0
push dword [ebp - 0x20]
call fcn.30093bda
mov eax, dword [ebp - 0x38]
and dword [0x3017e480], 0
pop edi
pop esi
mov dword [0x3017f120], eax
mov eax, dword [ebp - 0x30]
pop ebx
leave
ret 0x10
mov ecx, dword [0x3017e478]
mov dword [ebp - 0x2c], eax
mov dword [ecx], eax
cmp dword [0x30179b10], eax
jne 0x300944de
call fcn.30165fce
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x300944a6
call fcn.300bc460
jmp 0x300944d7