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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, eax
mov byte [esp], 0
xor ebx, ebx
mov byte [esp + 8], 0
cmp dword [esi + 0x17c], 9
jne 0x530c57
mov bl, 1
mov eax, dword [esi + 0x17c]
cmp eax, 6
je 0x530c67
cmp eax, 7
jne 0x530c6c
mov byte [esp + 8], 1
mov eax, dword [0x55359c]
cmp esi, dword [eax]
jne 0x530d8a
test bl, bl
jne 0x530d8a
cmp byte [esp + 8], 0
jne 0x530d8a
mov eax, dword [0x5531b4]
mov byte [eax], 0
mov eax, dword [0x553598]
mov byte [eax], 0
mov eax, dword [0x553960]
xor edx, edx
mov dword [eax], edx
movzx edi, word [esi + 0x64]
movzx ecx, word [esi + 0x62]
cmp di, cx
jae 0x530cce
movzx eax, cx
movzx edx, di
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [0x553960]
mov dword [edx], eax
mov eax, dword [0x5531b4]
mov byte [eax], 1
movzx edi, word [esi + 0x68]
movzx ecx, word [esi + 0x66]
cmp di, cx
jae 0x530cf7
movzx eax, cx
movzx edx, di
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [0x553960]
add dword [edx], eax
mov eax, dword [0x5531b4]
mov byte [eax], 1
movzx eax, word [esi + 0x6a]
cmp ax, word [esi + 0x6c]
jbe 0x530d09
mov eax, dword [0x553598]
mov byte [eax], 1
mov eax, dword [0x5531b4]
cmp byte [eax], 0
je 0x530d2d
mov eax, dword [0x553960]
mov eax, dword [eax]
cmp eax, dword [esi + 0x234]
jle 0x530d2d
inc dword [esi + 0x234]
jmp 0x531059
xor eax, eax
mov dword [esi + 0x234], eax
mov eax, dword [esi + 0x17c]
cmp eax, 0xb
je 0x530d5b
cmp eax, 9
je 0x530d5b
cmp eax, 0xd
je 0x530d5b
cmp eax, 0x1392
je 0x530d5b
cmp eax, 6
je 0x530d5b
cmp eax, 7
jne 0x530d8a
mov eax, dword [esi + 0x1f4]
sub eax, dword [esi + 0x1ec]
dec eax
je 0x530d71
sub eax, 3
je 0x530d7e
jmp 0x530d8a
mov eax, dword [esi + 0x1b0]
call fcn.005178fc
jmp 0x530d8a
mov eax, dword [esi + 0x1b0]
inc eax
call fcn.005178fc
mov byte [esp], 0
mov byte [esi + 0x220], 0
mov eax, dword [0x55359c]
cmp esi, dword [eax]
je 0x530db1
mov eax, dword [esi + 0x25c]
cmp dword [eax + 8], 2
jl 0x530db1
mov byte [esi + 0x220], 1
mov edi, dword [esi + 0x1f4]
mov eax, dword [esi + 0x17c]
cmp eax, 0xb
je 0x530ddc
cmp eax, 0xd
je 0x530ddc
cmp eax, 0x1392
je 0x530ddc
cmp eax, 6
je 0x530ddc
cmp eax, 7
jne 0x530f3e
mov edx, dword [esi + 0x1ec]
mov eax, dword [esi + 0x1f4]
cmp edx, eax
jg 0x530df4
cmp eax, dword [esi + 0x1f0]
jle 0x530dfb
dec edx
mov dword [esi + 0x1f4], edx
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1f0]
jge 0x530e66
inc dword [esi + 0x1f4]
cmp byte [esi + 0x220], 0
je 0x530e33
cmp byte [esp + 8], 0
jne 0x530e33
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1f0]
jge 0x530e33
inc dword [esi + 0x1f4]
mov ebp, dword [esi + 0x1f4]
mov eax, dword [esi + 0x1ec]
sub ebp, eax
inc ebp
mov edx, dword [esi + 0x1f0]
sub edx, eax
inc edx
mov dword [esp + 4], edx
push ebp
mov eax, dword [esp + 8]
push eax
movzx edx, byte [esi + 0x10]
mov ecx, dword [esi + 0x21c]
mov eax, esi
call fcn.0052ed98
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1f0]
jl 0x530ec3
mov eax, dword [0x55359c]
cmp esi, dword [eax]
jne 0x530ea9
mov eax, dword [0x553488]
mov eax, dword [eax]
call fcn.0053d38c
test al, al
je 0x530ec3
xor eax, eax
mov dword [esi + 0x17c], eax
mov byte [esi + 0x198], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x238], eax
jmp 0x530ec3
xor eax, eax
mov dword [esi + 0x17c], eax
mov byte [esi + 0x198], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x238], eax
cmp dword [esi + 0x17c], 6
jne 0x530eed
mov eax, dword [0x55359c]
cmp esi, dword [eax]
jne 0x530eed
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x553094]
mov dword [edx], eax
mov eax, dword [0x553428]
mov dword [eax], 0x12c
cmp dword [esi + 0x17c], 7
jne 0x530f3a
mov eax, dword [esi + 0x1f0]
sub eax, 3
cmp eax, dword [esi + 0x1f4]
jg 0x530f3a
mov eax, dword [esi + 0x250]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x254]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xec], eax
xor eax, eax
mov dword [esi + 0x17c], eax
mov byte [esi + 0x198], 1
mov byte [esp], 1
cmp dword [esi + 0x17c], 9
jne 0x53103b
mov edx, dword [esi + 0x1f0]
mov eax, dword [esi + 0x1f4]
cmp edx, eax
jl 0x530f63
cmp eax, dword [esi + 0x1ec]
jge 0x530f6a
inc edx
mov dword [esi + 0x1f4], edx
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1ec]
jle 0x530fd2
dec dword [esi + 0x1f4]
or bl, byte [esi + 0x220]
je 0x530f9a
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1ec]
jle 0x530f9a
dec dword [esi + 0x1f4]
mov eax, dword [esi + 0x1f0]
mov ebp, eax
sub ebp, dword [esi + 0x1f4]
inc ebp
sub eax, dword [esi + 0x1ec]
inc eax
mov dword [esp + 4], eax
push ebp
mov eax, dword [esp + 8]
push eax
movzx eax, byte [esi + 0x10]
call fcn.0052c6d8
mov edx, eax
mov ecx, dword [esi + 0x21c]
mov eax, esi
call fcn.0052ed98
mov eax, dword [esi + 0x1f4]
cmp eax, dword [esi + 0x1ec]
jg 0x531037
mov eax, dword [0x55359c]
cmp esi, dword [eax]
jne 0x53101d
xor eax, eax
mov dword [esi + 0x17c], eax
mov byte [esi + 0x198], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x238], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x553094]
mov dword [edx], eax
mov eax, dword [0x553428]
mov dword [eax], 0x3e8
jmp 0x531037
xor eax, eax
mov dword [esi + 0x17c], eax
mov byte [esi + 0x198], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x238], eax
mov byte [esp], 1
cmp edi, dword [esi + 0x1f4]
je 0x531059
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x240], eax
mov eax, esi
mov si, 0xfff3
call fcn.004045d4
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret