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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x302ae658]
sub esp, 0x90
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax + 0x120], edi
je 0x300ffdce
mov eax, dword [eax + 0x11c]
jmp 0x300ffdd4
mov eax, dword [eax + 0x388]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp ecx, edi
mov eax, dword [eax]
mov dword [ebp - 0x18], ecx
jl 0x300ffdec
jne 0x300ffdf3
cmp eax, edi
jle 0x300ffdf3
mov dword [ebp - 0x18], 0xa
mov eax, dword [0x302ae8d0]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x34], edi
mov dword [0x302ae8d0], eax
call sub.MSVCR80.dll__setjmp3
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x300ffe3d
mov eax, dword [0x302ae658]
mov ecx, dword [eax + 0x138]
mov eax, dword [ecx]
push 1
call dword [eax + 0x40]
mov eax, dword [ebp - 0x38]
push esi
mov dword [0x302ae8d0], eax
push eax
call dword [sym.imp.MSVCR80.dll_longjmp]
cmp dword [ebp - 0x18], edi
jg 0x300ffe60
cmp dword [0x3022c70c], edi
jne 0x300ffe51
call fcn.3007c3cc
jmp 0x300ffe56
call fcn.3011c718
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x3010037a
mov eax, dword [0x302ae658]
mov ecx, dword [eax + 0x138]
push dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], ecx
call dword [eax + 0x34]
cmp eax, edi
jl 0x3010035b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 8]
add eax, ecx
cmp dword [ebp + 0x14], edi
mov dword [ebp - 8], eax
jne 0x300ffea0
cmp dword [0x3022c70c], edi
mov dword [ebp - 0x3c], 1
je 0x300ffea3
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x3c], edi
je 0x3010029e
call fcn.3006546d
mov ecx, dword [0x3022bd34]
add ecx, 0x1f
cmp eax, ecx
jbe 0x3010029e
call fcn.3006546d
mov dword [0x3022bd34], eax
jmp 0x3010029e
lea eax, [esi + 2]
test byte [eax], 8
mov dword [ebp - 0x10], eax
je 0x300ffee5
movzx eax, word [esi + 3]
mov dword [ebp - 4], eax
jmp 0x300ffee9
and dword [ebp - 4], 0
push esi
call fcn.3007de67
mov edi, eax
movzx eax, word [ebp - 4]
cmp eax, edi
mov dword [ebp - 0x14], eax
jg 0x30100325
push eax
push edi
call fcn.30044b00
xor ebx, ebx
and dword [ebp - 0x30], ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
test byte [eax], 4
je 0x300fff6b
xor ax, ax
cmp ax, word [ebp - 4]
mov dword [ebp - 0x28], 1
sbb eax, eax
and eax, 2
mov eax, dword [eax + esi + 3]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x300fff6b
add dword [ebp - 0x50], eax
adc ebx, ebx
jne 0x3010032e
cmp dword [0x30209e20], 6
jl 0x300fff6f
cmp eax, 0xe
jne 0x300fff6f
cmp word [ebp - 4], 0
jne 0x300fff6f
push 0
push 0x71626362
call dword [sym.imp.MSO.dll_Ordinal_6848]
add dword [ebp - 0x50], 2
adc ebx, 0
jmp 0x300fff6f
and dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x50]
call dword [eax + 0x38]
test eax, eax
jl 0x3010035b
mov esi, dword [ebp - 0x10]
push 0
push dword [ebp - 0x14]
push 0
push edi
push dword [ebp - 0xc]
call fcn.3010119f
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push edi
call fcn.3002f49b
inc eax
inc eax
push eax
push edi
push esi
call fcn.3007ef41
mov ebx, dword [ebp - 0x1c]
add esi, eax
sub edi, ebx
lea ebx, [ebx + 1]
je 0x3010006f
xor esi, esi
cmp dword [0x3022c70c], esi
jne 0x300fffd4
call fcn.3007c3cc
jmp 0x300fffd9
call fcn.3011c718
cmp eax, 0x3c
jne 0x3010034f
cmp dword [0x3022c70c], esi
jne 0x300ffff1
call fcn.3007c3cc
jmp 0x300ffff6
call fcn.3011c708
push dword [ebp + 0x1c]
mov esi, eax
push esi
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.300ff1ff
cmp dword [0x3022bca4], 0
je 0x30100029
mov eax, dword [0x302ae658]
cmp dword [eax + 0x130], 0
je 0x30100029
push 1
push esi
push dword [ebp + 8]
call fcn.30082710
mov ecx, dword [0x3022bc9c]
mov eax, dword [ebp + 8]
lea ecx, [ecx + esi + 4]
mov dword [0x3022bc9c], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0xc]
add eax, esi
push eax
push edi
mov dword [ebp - 8], eax
call fcn.3002f49b
lea eax, [eax + ebx*2]
push eax
push edi
push dword [ebp + 8]
call fcn.3007ef41
sub edi, dword [ebp - 0x1c]
add ebx, dword [ebp - 0x1c]
mov esi, eax
add esi, dword [ebp + 8]
test edi, edi
jne 0x300fffc3
xor ebx, ebx
cmp word [ebp - 4], bx
je 0x30100221
cmp esi, dword [ebp - 8]
jb 0x301000f7
cmp dword [0x3022c70c], ebx
jne 0x3010008f
call fcn.3007c3cc
jmp 0x30100094
call fcn.3011c718
cmp eax, 0x3c
jne 0x30100337
cmp dword [0x3022c70c], ebx
jne 0x301000ac
call fcn.3007c3cc
jmp 0x301000b1
call fcn.3011c708
push dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, eax
push edi
push esi
mov dword [ebp + 0xc], edi
call fcn.300ff1ff
cmp dword [0x3022bca4], ebx
je 0x301000e1
mov eax, dword [0x302ae658]
cmp dword [eax + 0x130], ebx
je 0x301000e1
push 1
push edi
push esi
call fcn.30082710
mov eax, dword [ebp + 8]
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [0x3022bc9c]
lea eax, [edi + eax + 4]
mov dword [0x3022bc9c], eax
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
jle 0x30100221
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
lea edi, [eax + ecx*2 + 6]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
sub eax, esi
shr eax, 2
push eax
call fcn.3007f8d4
mov ebx, eax
mov eax, dword [ebp - 4]
lea edi, [edi + eax*4]
mov eax, ebx
shl eax, 2
push eax
push esi
push edi
call fcn.301010ba
add esi, eax
test ebx, ebx
jle 0x3010018f
add edi, 2
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x10]
movzx edi, word [eax]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x478]
movzx eax, di
push eax
call fcn.3002d071
test eax, eax
jne 0x30100186
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x478]
and edi, 0x7fff
movzx eax, di
push eax
call fcn.3002d071
test eax, eax
jne 0x30100180
xor edi, edi
mov eax, dword [ebp - 0x10]
mov word [eax], di
add dword [ebp - 0x10], 4
dec dword [ebp - 0x40]
jne 0x30100146
add dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jge 0x30100213
xor esi, esi
cmp dword [0x3022c70c], esi
jne 0x301001ab
call fcn.3007c3cc
jmp 0x301001b0
call fcn.3011c718
cmp eax, 0x3c
jne 0x3010033f
cmp dword [0x3022c70c], esi
jne 0x301001c8
call fcn.3007c3cc
jmp 0x301001cd
call fcn.3011c708
push dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, eax
push edi
push esi
mov dword [ebp + 0xc], edi
call fcn.300ff1ff
cmp dword [0x3022bca4], 0
je 0x301001ff
mov eax, dword [0x302ae658]
cmp dword [eax + 0x130], 0
je 0x301001ff
push 1
push edi
push esi
call fcn.30082710
lea eax, [esi + edi]
mov dword [ebp - 8], eax
mov eax, dword [0x3022bc9c]
lea eax, [edi + eax + 4]
mov dword [0x3022bc9c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jl 0x30100103
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
je 0x3010025b
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push esi
add ecx, eax
push ecx
push dword [ebp - 0x30]
push eax
call fcn.300ff391
mov esi, eax
cmp esi, ebx
je 0x30100347
cmp dword [ebp - 0x28], ebx
je 0x3010025b
test byte [ebp - 0x50], 1
je 0x3010025b
mov eax, dword [ebp - 0xc]
and word [eax + 2], 0x7fff
push dword [ebp - 0x50]
push dword [ebp - 0xc]
call fcn.301013eb
mov ecx, dword [ebp - 0xc]
test word [ecx + 2], 0x8000
je 0x30100285
call fcn.3002f4ad
test eax, eax
jne 0x30100285
mov ecx, dword [ebp - 0xc]
call fcn.3002f4bc
mov word [eax], bx
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
jl 0x3010035b
inc dword [ebp - 0x20]
inc dword [ebp - 0x34]
cmp esi, dword [ebp - 8]
jb 0x300ffed1
xor ebx, ebx
cmp dword [0x3022c70c], ebx
jne 0x301002b8
call fcn.3007c3cc
jmp 0x301002bd
call fcn.3011c718
cmp eax, 0x3c
jne 0x30100368
cmp dword [0x3022c70c], ebx
jne 0x301002d5
call fcn.3007c3cc
jmp 0x301002da
call fcn.3011c708
push dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, eax
push edi
push esi
mov dword [ebp + 0xc], edi
call fcn.300ff1ff
cmp dword [0x3022bca4], ebx
je 0x3010030a
mov eax, dword [0x302ae658]
cmp dword [eax + 0x130], ebx
je 0x3010030a
push 1
push edi
push esi
call fcn.30082710
lea eax, [esi + edi]
mov dword [ebp - 8], eax
mov eax, dword [0x3022bc9c]
lea eax, [edi + eax + 4]
mov dword [0x3022bc9c], eax
xor edi, edi
jmp 0x300ffea3
push 0
push 0x3865686a
jmp 0x30100355
push 0
push 0x386e6730
jmp 0x30100355
push ebx
push 0x74727578
jmp 0x30100355
push esi
push 0x74727579
jmp 0x30100355
push ebx
push 0x7472757a
jmp 0x30100355
push esi
push 0x63636370
call dword [sym.imp.MSO.dll_Ordinal_6848]
push 6
push dword [0x302ae8d0]
jmp 0x300ffe37
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x40]
cmp eax, ebx
jl 0x3010035b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
je 0x30100385
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
pop edi
pop esi
mov dword [0x302ae8d0], ecx
pop ebx
leave
ret 0x18