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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6b3252
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test ebx, ebx
je 0x6b323c
xor edx, edx
push ebp
push 0x6b3207
push dword fs:[edx]
mov dword fs:[edx], esp
movzx eax, word [ebx]
cmp eax, 0xc6
jg 0x6b2bbf
je 0x6b31e5
add eax, 0xffffff5f
cmp eax, 9
ja case.0x6b2b90.163
jmp dword [eax*4 + 0x6b2b97]
cmp eax, 0xe5
jg 0x6b2bec
je 0x6b2e8d
sub eax, 0xc8
je 0x6b2fa7
sub eax, 0x13
je 0x6b2d1a
dec eax
je 0x6b2de4
jmp case.0x6b2b90.163
sub eax, 0xe6
je 0x6b31ee
sub eax, 7
je 0x6b2fc2
jmp case.0x6b2b90.163
cmp word [ebx], 0xa1
jne 0x6b2c42
cmp byte [esi + 0x2b6], 0x32
jb 0x6b2c42
cmp byte [esi + 0x333], 0
jne 0x6b2c42
cmp dword [esi + 0x34], 0x23
jae 0x6b2c42
mov eax, 0x3e8
call fcn.004034e0
mov edx, dword [esi + 0x490]
add edx, 0x320
add eax, edx
mov dword [esi + 0x490], eax
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, esi
call fcn.006a9d70
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x6b2cd3
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 8]
mov eax, esi
call fcn.006a9f54
mov eax, esi
call fcn.006acab4
mov eax, dword [esi + 0x16c]
push eax
mov eax, dword [esi + 0x174]
push eax
mov eax, dword [ebx + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
mov dx, 0xa3
mov eax, esi
call fcn.006a4724
cmp byte [esi + 0x2b6], 0
je 0x6b2cd3
cmp byte [esi + 0x32f], 0
je 0x6b2cae
imul eax, dword [ebp - 8], 0x3e8
sub dword [esi + 0x338], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x16c]
push eax
mov eax, dword [esi + 0x174]
push eax
mov eax, dword [ebx + 0x14]
push eax
push 0
mov cx, 0x9e
mov edx, esi
mov eax, esi
call fcn.006a3f8c
cmp byte [esi + 0xd00], 0
je 0x6b2cec
mov word [esi + 0x24a], 1
mov byte [esi + 0xd00], 0
cmp byte [esi + 0xd01], 0
jbe case.0x6b2b90.163
dec byte [esi + 0xd01]
cmp byte [esi + 0xd01], 0
jne case.0x6b2b90.163
mov word [esi + 0x24a], 1
jmp case.0x6b2b90.163
mov edx, dword [esi + 0x104]
mov eax, dword [ebx + 8]
add edx, eax
cmp edx, 0x12c
jae 0x6b2d60
cmp byte [esi + 0x2b6], 0
jne 0x6b2d4b
add dword [esi + 0x104], eax
mov dword [esi + 0x2d8], 5
jmp case.0x6b2b90.163
add dword [esi + 0x104], eax
mov dword [esi + 0x2d8], 5
jmp case.0x6b2b90.163
mov dword [esi + 0x104], 0x12c
jmp case.0x6b2b90.163
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x20]
push eax
push 0
mov ecx, dword [ebx + 4]
movzx edx, word [ebx + 0x14]
mov eax, esi
call fcn.006a4724
cmp dword [ebx + 0x14], 0x9e
jne 0x6b2dc2
cmp byte [esi + 0x2b6], 0
je 0x6b2dc2
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x20]
push eax
movzx ecx, word [ebx + 0x14]
mov edx, esi
mov eax, esi
call fcn.006a3f8c
cmp byte [esi + 0xd00], 0
je case.0x6b2b90.163
mov word [esi + 0x24a], 1
mov byte [esi + 0xd00], 0
jmp case.0x6b2b90.163
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
movzx eax, word [ebx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x10]
test edi, edi
je case.0x6b2b90.163
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, edi
call fcn.006a9d70
test eax, eax
jle case.0x6b2b90.163
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp byte [edi + 0x2b6], 0x32
jb 0x6b2e47
fild dword [ebp - 0x14]
fld xword [0x6b3264]
fdivp st(1)
call fcn.004035bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg case.0x6b2b90.163
mov eax, dword [ebp - 0x10]
sub eax, dword [edi + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg case.0x6b2b90.163
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
mov cx, 0xa1
mov edx, esi
mov eax, edi
call fcn.006a3f8c
jmp case.0x6b2b90.163
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
movzx eax, word [ebx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x10]
test edi, edi
je case.0x6b2b90.163
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov eax, edi
call fcn.006a9d70
test eax, eax
jle case.0x6b2b90.163
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp byte [edi + 0x2b6], 0x32
jb 0x6b2ef0
fild dword [ebp - 0x14]
fld xword [0x6b3264]
fdivp st(1)
call fcn.004035bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg case.0x6b2b90.163
mov eax, dword [ebp - 0x10]
sub eax, dword [edi + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg case.0x6b2b90.163
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
mov cx, 0xa1
mov edx, esi
mov eax, edi
call fcn.006a3f8c
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
mov cx, 0xdb
mov edx, esi
mov eax, esi
call fcn.006a3f8c
push esi
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x28]
push eax
push 0
push 0
mov ecx, 0xb
mov dx, 0xd9
mov eax, esi
call fcn.006a4724
jmp case.0x6b2b90.163
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x20]
mov eax, esi
call fcn.006b3a30
jmp case.0x6b2b90.163
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x10]
test edi, edi
je case.0x6b2b90.163
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.006ad7e8
jmp case.0x6b2b90.163
mov eax, dword [ebx + 0x10]
push eax
push 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esi + 0x36c]
mov eax, esi
call fcn.006b27c0
jmp case.0x6b2b90.163
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je case.0x6b2b90.163
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 6]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x6b30ed
mov eax, dword [ebp - 0xc]
sub eax, dword [esi + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg 0x6b30ed
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x18]
jg 0x6b30ed
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp byte [esi + 0x2b6], 0
jne 0x6b3048
cmp byte [edi + 0x2b6], 0
jne 0x6b3048
mov edx, edi
mov eax, esi
call fcn.006a88dc
mov edx, edi
mov eax, esi
call fcn.006a8890
mov eax, dword [esi + 0x304]
test eax, eax
je 0x6b30ab
cmp eax, edi
je 0x6b30ab
cmp byte [edi + 0x2b6], 0
jne 0x6b30ab
mov edx, edi
call fcn.006a88dc
mov edx, dword [esi + 0x304]
mov eax, dword [0x707de8]
mov eax, dword [eax]
call fcn.00512138
test eax, eax
je 0x6b30ab
mov eax, dword [esi + 0x304]
mov eax, dword [eax + 0x388]
cmp eax, dword [edi + 0x388]
je 0x6b30ab
mov byte [edi + 0x324], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x328], eax
cmp dword [esi + 0x320], 0
je 0x6b30c6
mov byte [edi + 0x324], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x328], eax
mov eax, dword [ebx + 0x10]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.006aab7c
cmp dword [ebx + 4], 5
jne 0x6b30ed
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xc], 0
je 0x6b30ed
mov byte [esi + 0xd01], 2
mov edx, 0xd
mov eax, dword [ebp - 0x1c]
call fcn.0040300c
jmp case.0x6b2b90.163
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x6b31bf
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp byte [esi + 0x2b6], 0
jne 0x6b312e
cmp byte [edi + 0x2b6], 0
jne 0x6b312e
mov edx, edi
mov eax, esi
call fcn.006a88dc
mov edx, edi
mov eax, esi
call fcn.006a8890
mov eax, dword [esi + 0x304]
test eax, eax
je 0x6b3191
cmp eax, edi
je 0x6b3191
cmp byte [edi + 0x2b6], 0
jne 0x6b3191
mov edx, edi
call fcn.006a88dc
mov edx, dword [esi + 0x304]
mov eax, dword [0x707de8]
mov eax, dword [eax]
call fcn.00512138
test eax, eax
je 0x6b3191
mov eax, dword [esi + 0x304]
mov eax, dword [eax + 0x388]
cmp eax, dword [edi + 0x388]
je 0x6b3191
mov byte [edi + 0x324], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x328], eax
cmp dword [esi + 0x320], 0
je 0x6b31ac
mov byte [edi + 0x324], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x328], eax
mov eax, dword [ebx + 0x10]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.006aab7c
jmp case.0x6b2b90.163
mov eax, dword [ebx + 0x10]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.006aab7c
jmp case.0x6b2b90.163
mov ecx, dword [ebx + 8]
mov eax, dword [0x7072b8]
mov eax, dword [eax]
mov edx, esi
call fcn.0051d440
jmp case.0x6b2b90.163
mov eax, esi
call fcn.006b0974
jmp case.0x6b2b90.163
mov edx, dword [esi + 0x36c]
xor ecx, ecx
mov eax, esi
call fcn.006b39c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b323c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b3259
lea eax, [ebp - 0x20]
call fcn.004054d0
ret