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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test dl, dl
je 0x529aa1
add esp, 0xfffffff0
call fcn.0040473c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov eax, dword [0x553698]
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
movzx eax, byte [ebp + 0x10]
cmp eax, 0x10
ja case.0x529ac6.0
jmp dword [eax*4 + 0x529acd]
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 6
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 0xa
cmp dword [ebp - 8], 0x26
jne 0x529b51
mov dword [ebx + 0x90], 0xa
cmp dword [ebp - 8], 0x27
jne 0x529b68
mov dword [ebx + 0x90], 4
mov dword [ebx + 0x74], 8
mov eax, dword [ebp - 8]
sub eax, 0x51
sub eax, 3
jns case.0x529ac6.0
mov byte [ebx + 0x84], 1
mov byte [ebx + 0x68], 1
cmp dword [ebp - 8], 0x51
jne 0x529bac
mov eax, dword [0x55359c]
mov eax, dword [eax]
cmp dword [eax + 8], 0x54
jl 0x529b9e
mov dword [ebx + 0x18], 0x82
jmp 0x529ba5
mov dword [ebx + 0x18], 0x8c
mov byte [ebx + 0x85], 1
cmp dword [ebp - 8], 0x52
jne 0x529be3
mov eax, dword [0x55359c]
mov eax, dword [eax]
cmp dword [eax + 8], 0x4e
jl 0x529bd5
mov eax, dword [0x55359c]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x30
jl 0x529bd5
mov dword [ebx + 0x18], 0x96
jmp 0x529bdc
mov dword [ebx + 0x18], 0xa0
mov byte [ebx + 0x85], 2
cmp dword [ebp - 8], 0x53
jne 0x529bf7
mov dword [ebx + 0x18], 0xb4
mov byte [ebx + 0x85], 3
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 0xa
mov dword [ebx + 0x1c], 0xbe
mov dword [ebx + 0x74], 0xa
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 6
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 1
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 0x14
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 1
mov byte [ebx + 0x68], 0
mov dword [ebx + 0x74], 0x14
mov eax, dword [0x5532b0]
mov eax, dword [eax + 0x50]
mov dword [ebx + 0x14], eax
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 0xffffffff
mov dword [ebx + 0x74], 0xa
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 1
mov byte [ebx + 0x68], 0
cmp dword [ebp - 8], 0x50
jne 0x529d38
mov byte [ebx + 0x84], 2
mov eax, 6
call fcn.00403540
cmp eax, 5
ja case.default.0x529cd7
jmp dword [eax*4 + 0x529cde]
mov dword [ebx + 0x18], 0xe6
jmp case.default.0x529cd7
mov dword [ebx + 0x18], 0xf0
jmp case.default.0x529cd7
mov dword [ebx + 0x18], 0xfa
jmp case.default.0x529cd7
mov dword [ebx + 0x18], 0xe6
jmp case.default.0x529cd7
mov dword [ebx + 0x18], 0xf0
jmp case.default.0x529cd7
mov dword [ebx + 0x18], 0xfa
mov dword [ebx + 0x7c], 4
mov dword [ebx + 0x74], 5
cmp dword [ebp - 8], 0x46
jne 0x529d82
mov byte [ebx + 0x84], 3
mov eax, 3
call fcn.00403540
sub eax, 1
jb 0x529d5b
je 0x529d64
dec eax
je 0x529d6d
jmp 0x529d74
mov dword [ebx + 0x18], 0x190
jmp 0x529d74
mov dword [ebx + 0x18], 0x19a
jmp 0x529d74
mov dword [ebx + 0x18], 0x1a4
mov dword [ebx + 0x7c], 4
mov dword [ebx + 0x74], 5
cmp dword [ebp - 8], 0x47
jne 0x529d96
mov byte [ebx + 0x84], 3
mov dword [ebx + 0x74], 0x14
cmp dword [ebp - 8], 0x48
jne 0x529db1
mov byte [ebx + 0x84], 3
mov dword [ebx + 0x7c], 3
mov dword [ebx + 0x74], 0xa
cmp dword [ebp - 8], 0x49
jne 0x529dcc
mov byte [ebx + 0x84], 3
mov dword [ebx + 0x7c], 5
mov dword [ebx + 0x74], 0x14
cmp dword [ebp - 8], 0x4a
jne 0x529de7
mov byte [ebx + 0x84], 3
mov dword [ebx + 0x7c], 4
mov dword [ebx + 0x74], 0x23
cmp dword [ebp - 8], 0x5a
jne case.0x529ac6.0
mov dword [ebx + 0x18], 0x15e
mov dword [ebx + 0x1c], 0x15e
mov dword [ebx + 0x74], 0x1e
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 0xffffffff
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 1
mov byte [ebx + 0x68], 0
mov eax, dword [0x5534b4]
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 3
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 3
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 1
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 1
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 6
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 2
jmp case.0x529ac6.0
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x90], 1
mov eax, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x69], 0
movzx eax, byte [ebp + 0xc]
mov byte [ebx + 0x68], al
mov dword [ebx + 0x74], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x38], eax
cmp byte [ebx + 0x84], 1
jne 0x529f60
cmp dword [ebp - 8], 0x51
jne 0x529f3e
sub esi, 0xe
add edi, 0x14
cmp dword [ebp - 8], 0x51
jne 0x529f4a
sub esi, 0x46
sub edi, 0xa
cmp dword [ebp - 8], 0x53
jne 0x529f56
sub esi, 0x3c
sub edi, 0x46
mov eax, 0x2010
call fcn.005178fc
mov dword [ebx + 0xa4], esi
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], edi
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fstp qword [ebx + 0x58]
wait
mov dword [ebp - 0x14], edi
fild dword [ebp - 0x14]
fstp qword [ebx + 0x60]
wait
mov eax, dword [0x55359c]
mov eax, dword [eax]
mov eax, dword [eax + 0xe8]
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [0x55359c]
mov edx, dword [edx]
add eax, dword [edx + 0xc0]
mov dword [ebx + 0xbc], eax
mov eax, dword [0x55359c]
mov eax, dword [eax]
mov eax, dword [eax + 0xec]
shl eax, 5
mov edx, dword [0x55359c]
mov edx, dword [edx]
add eax, dword [edx + 0xc4]
mov dword [ebx + 0xc0], eax
cmp byte [ebx + 0x84], 0
jne 0x529feb
mov eax, dword [ebx + 0x18]
add eax, 0xaa
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x7c], 1
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0xa4]
je 0x52a010
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0xa4]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0xc], eax
jmp 0x52a017
mov dword [ebp - 0xc], 1
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 0xa8]
je 0x52a035
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0xa8]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x52a03c
mov dword [ebp - 0x10], 1
mov eax, dword [ebx + 0xa4]
sub eax, dword [ebx + 0x34]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0xa8]
sub eax, dword [ebx + 0x38]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x52a0aa
fild dword [ebp - 0xc]
fdivr dword [0x52a180]
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0xa4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmulp st(1)
call fcn.004035cc
mov dword [ebx + 0xac], eax
fild dword [ebp - 0xc]
fdivr dword [0x52a180]
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0xa8]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmulp st(1)
call fcn.004035cc
mov dword [ebx + 0xb0], eax
jmp 0x52a0f4
fild dword [ebp - 0x10]
fdivr dword [0x52a180]
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0xa4]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmulp st(1)
call fcn.004035cc
mov dword [ebx + 0xac], eax
fild dword [ebp - 0x10]
fdivr dword [0x52a180]
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0xa8]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmulp st(1)
call fcn.004035cc
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0x78], 0x32
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x94], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x98], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, edi
mov eax, esi
call fcn.0052ca28
mov byte [ebx + 0x30], al
movzx eax, byte [ebx + 0x30]
mov byte [ebx + 0x31], al
xor eax, eax
mov dword [ebx + 0x70], eax
mov byte [ebx + 4], 1
mov dword [ebx + 0xc4], 0x1869f
mov dword [ebx + 0xc8], 0x1869f
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x52a173
call fcn.00404794
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20