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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007fcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x597dc]
mov ebx, 1
cmp ecx, ebx
je 0x1002ebb8
xor eax, eax
jmp 0x1002eef0
cmp dword [eax + 0x55c], ebx
je 0x1002ebc9
cmp dword [eax + 0x560], 0
je 0x1002ebef
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [edi + 0x30]
cmp eax, 0x1388
jbe 0x1002ebef
lea esi, [edi + 0x34]
push esi
call fcn.10021e20
push esi
call fcn.100222d0
call ebp
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x564], ebx
jne 0x1002ec32
push 0x10099e10
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x100986c0
mov dword [esp + 0x20], 0x10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x1c]
push ecx
mov eax, 0x100986d8
call fcn.1003a770
push 0x100986c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x14]
mov ebp, dword [eax + 0x59774]
mov eax, dword [eax + 0x597e0]
cmp eax, ebx
je 0x1002eca0
fld dword [ebp + 0x24]
mov esi, dword [edi + 0x2c]
mov ecx, dword [esi + 4]
fstp dword [esp + 0x28]
test ecx, ecx
fld dword [ebp + 0x20]
fstp dword [esp + 0x24]
fld dword [ebp + 0x28]
fstp dword [esp + 0x2c]
je 0x1002ec99
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 4
cmp eax, 2
jb 0x1002ec99
test ecx, ecx
jne 0x1002ec79
xor eax, eax
jmp 0x1002ec81
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 4
lea edx, [esp + 0x24]
add eax, 0xffffffff
push edx
push eax
xor eax, eax
call fcn.10059240
add esp, 8
mov dword [edi + 0x24], eax
jmp 0x1002eca0
mov dword [edi + 0x24], 0
mov esi, dword [edi + 0x14]
call fcn.1001de40
mov ebx, dword [edi + 0x2c]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x1002ecb6
xor eax, eax
jmp 0x1002ecbe
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
mov esi, dword [edi + 0x24]
cmp esi, eax
jae 0x1002ed09
test ecx, ecx
je 0x1002ecd5
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x1002ecda
call fcn.10067664
fld dword [edi + 0x28]
shl esi, 4
add esi, dword [ebx + 4]
call fcn.1007ae20
mov ecx, eax
mov eax, esi
mov edx, 0x1211
mov esi, ebp
call fcn.1004a2f0
test eax, eax
je 0x1002eeeb
add dword [edi + 0x24], 1
jmp 0x1002eeeb
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
xor ebx, ebx
push edi
mov dword [ebp + 0xfc], ebx
call fcn.1002ef60
cmp dword [ebp + 0xa8], ebx
je 0x1002ed95
mov eax, edi
call fcn.1002ef10
mov esi, eax
cmp esi, ebx
je 0x1002eeeb
mov ebx, esi
call fcn.1002f0f0
cmp dword [esi + 0x28], 0
je 0x1002eeeb
fld dword [esi + 0x10]
mov ecx, dword [esi + 4]
fstp dword [esp + 0x28]
sub esp, 0x10
fld dword [esi + 0xc]
mov eax, esp
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esi + 0x14]
mov esi, dword [esi + 8]
mov dword [eax], edx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
push esi
push ecx
mov dword [eax + 0xc], edx
call fcn.1002ea50
jmp 0x1002eeeb
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x540], ebx
je 0x1002ede2
push 0x10
call fcn.10064d80
add esp, 4
test eax, eax
jne 0x1002ede2
call fcn.1004ce80
cmp eax, 1
jl 0x1002ede2
mov edx, dword [ebp]
mov eax, dword [edx + 0x70]
push 0xe
mov ecx, ebp
call eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
mov edx, dword [ebp]
mov eax, dword [edx + 0x68]
mov ecx, ebp
call eax
push 0x1770
call esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.AllRank
call fcn.10001a30
lea edx, [esp + 0x14]
push edx
mov ecx, str.Fishing
mov dword [esp + 0x44], ebx
call fcn.10001a30
lea eax, [esp + 0x18]
lea esi, [edi + 4]
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov ebx, esp
call fcn.10001cb0
add eax, 0x10
mov dword [ebx], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov dword [esi], eax
mov eax, ebp
mov byte [esp + 0x48], 1
call fcn.1004a490
mov esi, eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002ee88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002eeb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x1002eeeb
mov edi, dword [edi + 0x14]
cmp dword [edi + 0x4f4], 0
je 0x1002eecf
lea ecx, [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x59774]
call fcn.1004cec0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
push eax
push ecx
mov ecx, ebp
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4