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

Disassembly:
sub esp, 0x47c
mov eax, dword [0x81a1d0]
mov dword [esp + 0x478], eax
xor eax, eax
mov dword [esp + 0x18], eax
push ebx
mov dword [esp + 0x20], eax
push ebp
mov dword [esp + 0x28], eax
xor ebx, ebx
push esi
mov dword [esp + 0x30], eax
mov eax, dword [0x8b82ac]
xor esi, esi
cmp eax, ebx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [0x8b8060], 0xffffffff
mov dword [esp + 0x10], esi
mov edi, eax
mov ebp, 0x10
je 0x752f0d
mov ecx, dword [edi + 0x78]
cmp ecx, ebx
je 0x752ec2
cmp ecx, esi
je 0x752ec2
mov esi, ecx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x220
push 0x8b8068
push esi
mov dword [esp + 0x38], ebp
call fcn.0074a430
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x752ecb
mov eax, dword [0x8b82ac]
mov edi, dword [edi + 0x74]
cmp edi, ebx
jne 0x752e86
jmp 0x752f09
add eax, 0xfffffff8
mov dword [0x8b8060], eax
mov eax, dword [esp + 0x30]
movzx ecx, al
movzx edx, ah
movzx eax, byte [esp + 0x32]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x33]
shl ecx, 8
or ecx, eax
mov eax, dword [0x8b82ac]
shl ecx, 8
or ecx, edx
mov dword [0x8b8064], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
cmp eax, ebx
mov ebp, eax
mov ecx, 2
mov edi, 4
je 0x7533aa
call fcn.0074b470
mov esi, eax
cmp dword [esp + 0x1c], ebx
mov eax, dword [0x8b8060]
mov dword [esp + 0x490], esi
jne 0x752f6d
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x78]
jne 0x752f6d
cmp dword [ebp + 0x8c], 3
jne 0x752f6d
cmp eax, ebx
jne 0x752f6f
cmp dword [0x8b8068], 1
jne 0x752f75
mov edx, dword [ebp + 0x90]
cmp edx, dword [0x8b806c]
jne 0x752f75
mov dword [esp + 0x1c], ebp
jmp 0x752f75
cmp eax, ebx
jl 0x753150
mov eax, dword [ebp + 0x8c]
cmp eax, 3
je 0x753150
cmp eax, 5
je 0x753150
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x78]
jne 0x753150
lea ecx, [esp + 0x28]
push ecx
lea edx, [ebp + 0x7c]
push edx
call fcn.00742be0
add esp, 8
test eax, eax
jne 0x753150
mov eax, dword [0x8b8060]
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x64]
add edx, eax
inc ecx
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x64], ecx
mov edx, dword [0x8b8068]
cmp edx, 1
je 0x75312f
cmp edx, 2
je 0x75312f
cmp edx, 3
je 0x75312f
cmp dword [ebp + 0x8c], edi
jne 0x753146
cmp edx, edi
mov ecx, dword [0x8b8064]
jne 0x753015
mov dword [ebp + 0xd8], ecx
mov eax, 0x8b8060
mov ecx, ebp
call fcn.00752ba0
jmp 0x753146
cmp edx, 0x10000000
jbe 0x75310c
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0x24], eax
mov eax, edx
shr eax, 0x1c
and edx, 0xfffffff
sub edx, eax
cmp eax, ebx
mov dword [0x8b7e40], edx
mov edx, dword [0x8b806c]
mov dword [0x8b7e3c], ecx
mov dword [0x8b7e44], edx
mov dword [esp + 0x18], eax
mov dword [ebp + 0xd8], ecx
jl 0x753146
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [0x8b8060]
jle 0x75307e
dec eax
mov dword [0x8b8060], eax
movzx ecx, byte [eax + 0x8b8070]
jmp 0x753080
mov ecx, eax
sub eax, ecx
mov dword [0x8b7e38], ecx
mov dword [0x8b8060], eax
lea esi, [eax + 0x8b8070]
mov eax, ecx
shr ecx, 2
mov edi, 0x8b7e48
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x8b7e38
mov ecx, ebp
call fcn.00752ba0
push 0x8b7e38
mov ebx, ebp
call fcn.00752c40
add esp, 4
test eax, eax
jge 0x7530cf
mov dword [esp + 0x18], 0
jmp 0x7530e7
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x7530e7
mov eax, dword [ebp + 0xa8]
cmp dword [esp + 0x24], eax
je 0x7530e7
mov dword [esp + 0x24], eax
mov ecx, dword [0x8b7e40]
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [0x8b7e40], ecx
mov dword [esp + 0x18], eax
jns 0x753062
mov esi, dword [esp + 0x490]
jmp 0x75313f
mov dword [ebp + 0xd8], ecx
mov eax, 0x8b8060
mov ecx, ebp
call fcn.00752ba0
push 0x8b8060
mov ebx, ebp
call fcn.00752c40
add esp, 4
jmp 0x75313f
lea ebx, [esp + 0x28]
mov edi, 0x8b8060
mov eax, ebp
call fcn.007527a0
xor ebx, ebx
mov edi, 4
mov dword [0x8b8060], 0xffffffff
cmp dword [ebp + 0x8c], 2
jne 0x7531d6
mov ecx, dword [ebp + 0xd4]
mov edx, esi
sub edx, ecx
cmp edx, 0x3e8
jbe 0x7531d6
mov eax, dword [ebp + 0x90]
push 0x10
lea ecx, [ebp + 0x7c]
push ecx
push ebx
push 8
lea edx, [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x78]
push edx
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 1
call fcn.0074a320
add esp, 0x18
cmp eax, 8
jne 0x7531d0
call fcn.0074b470
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
add edx, 8
mov dword [ebp + 0xd4], eax
mov eax, dword [esp + 0x40]
inc ecx
cmp eax, 6
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x60], ecx
je 0x7531d6
mov dword [ebp + 0xb0], ebx
jmp 0x7531d6
mov dword [ebp + 0xd0], eax
cmp dword [ebp + 0x8c], edi
jne 0x75322c
mov ecx, dword [ebp + 0xc4]
cmp ecx, dword [ebp + 0xbc]
je 0x7531fa
mov ebx, ebp
call fcn.00752830
xor ebx, ebx
mov edi, 4
cmp dword [ebp + 0x8c], edi
jne 0x75322c
mov ecx, dword [ebp + 0xd8]
mov edx, esi
sub edx, ecx
cmp edx, 0x1d4c0
jbe 0x75322c
mov edx, dword [ebp + 0xd4]
mov eax, esi
sub eax, edx
cmp eax, 0x7d0
jae 0x75322c
mov ecx, ebp
call fcn.00752730
cmp dword [ebp + 0x8c], 3
jne 0x7532ca
cmp word [ebp + 0x7c], 2
lea eax, [ebp + 0x7c]
jne 0x7532ca
mov ecx, dword [ebp + 0xd4]
add ecx, 0x3e8
cmp esi, ecx
jbe 0x7532ca
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x90]
push 0x10
push eax
push ebx
push 8
lea eax, [esp + 0x278]
push eax
push ecx
mov dword [esp + 0x278], ebx
mov dword [esp + 0x280], 5
mov dword [esp + 0x284], edx
call fcn.0074a320
add esp, 0x18
cmp eax, 8
jne 0x7532c4
call fcn.0074b470
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
add edx, 8
mov dword [ebp + 0xd4], eax
mov eax, dword [esp + 0x268]
inc ecx
cmp eax, 6
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x60], ecx
je 0x7532ca
mov dword [ebp + 0xb0], ebx
jmp 0x7532ca
mov dword [ebp + 0xd0], eax
cmp dword [ebp + 0x218], ebx
jne 0x7532ee
mov edx, dword [ebp + 0xdc]
add edx, 0xfa
cmp esi, edx
jbe 0x7532ee
mov dword [ebp + 0xdc], esi
mov dword [ebp + 0x218], edi
cmp dword [ebp + 0x214], ebx
jne 0x753338
mov ecx, dword [ebp + 0x218]
cmp ecx, ebx
je 0x753338
mov eax, dword [ebp + 0x214]
inc eax
mov dword [ebp + 0x214], eax
mov eax, dword [ebp + 0x21c]
cmp eax, ebx
je 0x75331e
push ecx
push ebp
call eax
add esp, 8
mov ecx, dword [ebp + 0x214]
dec ecx
mov dword [ebp + 0x214], ecx
mov dword [ebp + 0x218], ebx
call fcn.0074b470
mov esi, eax
cmp dword [ebp + 0x8c], edi
jne 0x753391
mov ecx, dword [ebp + 0xbc]
cmp dword [ebp + 0xc4], ecx
jne 0x753391
sub esi, dword [ebp + 0xd4]
mov eax, esi
cmp eax, 0x64
jbe 0x753371
mov edx, dword [ebp + 0xac]
cmp edx, dword [ebp + 0xa8]
jne 0x753384
cmp ecx, dword [ebp + 0xc0]
jne 0x753384
cmp eax, 0x9c4
ja 0x753384
cmp dword [ebp + 0xb0], 0x800
jl 0x753391
mov ecx, ebp
mov dword [ebp + 0xb0], ebx
call fcn.00752d80
mov ebp, dword [ebp + 0x74]
cmp ebp, ebx
jne 0x752f21
mov eax, dword [0x8b82ac]
mov esi, dword [esp + 0x10]
mov ecx, 2
cmp dword [0x8b8060], ebx
jl 0x75340e
cmp dword [0x8b8068], 5
jne 0x75340e
mov edi, dword [esp + 0x28]
cmp di, cx
jne 0x75340e
cmp eax, ebx
je 0x75340e
mov edx, dword [0x8b806c]
mov edi, edi
cmp dword [eax + 0x8c], ecx
jne 0x7533eb
cmp word [eax + 0x7c], cx
jne 0x7533eb
cmp dword [eax + 0x90], edx
jne 0x7533eb
cmp esi, dword [eax + 0x78]
je 0x7533f4
mov eax, dword [eax + 0x74]
cmp eax, ebx
jne 0x7533d0
jmp 0x75340e
add eax, 0x7c
mov dword [eax], edi
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x753462
cmp dword [0x8b8060], ebx
jne 0x753462
mov edx, dword [0x8b806c]
cmp dword [eax + 0x90], edx
jne 0x753462
mov edx, dword [esp + 0x28]
lea ecx, [eax + 0x7c]
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x34]
lea ebx, [esp + 0x28]
mov edi, 0x8b8060
mov dword [ecx + 0xc], edx
mov dword [eax + 0x8c], 4
call fcn.007527a0
mov ecx, dword [esp + 0x488]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00760e8e
add esp, 0x47c
ret