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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x323c3f
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
call fcn.0031207e
pop ecx
push eax
call fcn.0031168c
pop ecx
call fcn.0031184f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x233384c], eax
mov dword [0x2333850], esi
call edi
push 5
pop esi
cmp eax, 1
jne 0x3062f5
call fcn.00304fc2
test al, al
jne 0x306247
call edi
mov dword [0x333510], eax
call edi
xor edx, edx
div esi
mov ecx, edx
call fcn.0030666a
mov esi, eax
call edi
cmp eax, 2
jne 0x3062f5
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push str.fs_new_file
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
call fcn.003021ab
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x10]
push eax
call fcn.00302c70
or dword [esp + 0x4c], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.0030222a
call esi
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push str.g_nh_file
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.003021ab
xor esi, esi
inc esi
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x28]
push eax
call fcn.00302c70
or dword [esp + 0x4c], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.0030222a
call fcn.003053ff
push 0x2333e6c
call fcn.00302c70
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push 0x32cc68
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.003021ab
mov dword [esp + 0x4c], 2
push 0x2333dbc
lea eax, [esp + 0x2c]
push eax
call fcn.00302930
or dword [esp + 0x4c], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.0030222a
call fcn.003055bc
test al, al
jne 0x306366
or eax, 0xffffffff
jmp 0x306474
call fcn.0030596f
mov esi, eax
call edi
xor edi, edi
inc edi
cmp eax, edi
jne 0x306408
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push str.golden_axe
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
call fcn.003021ab
mov dword [esp + 0x4c], 3
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push 0x32cc68
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.003021ab
mov byte [esp + 0x4c], 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00302930
mov byte [esp + 0x4c], 3
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0030222a
or dword [esp + 0x4c], 0xffffffff
push ebx
push edi
lea ecx, [esp + 0x18]
call fcn.0030222a
test esi, esi
je 0x306415
call fcn.00306486
mov eax, esi
jmp 0x306474
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push 0x32cc88
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.003021ab
mov dword [esp + 0x4c], 5
push 0x2333e04
lea eax, [esp + 0x2c]
push eax
call fcn.00302930
or dword [esp + 0x4c], 0xffffffff
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0030222a
call fcn.00306486
call fcn.00305dab
call fcn.00305ee8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret