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

Disassembly:
mov eax, 0x620a1c
call fcn.0044c164
sub esp, 0x6c
push ebx
push esi
xor ebx, ebx
push edi
cmp word [ebp + 0x14], bx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
je 0x5774ea
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x14], eax
jmp 0x5774f1
or dword [ebp - 0x14], 0xffffffff
mov esi, dword [ebp + 8]
cmp word [esi + 0x336], bx
lea edi, [esi + 0x336]
mov dword [ebp - 0x18], ebx
je 0x57750e
push 0x20070032
call fcn.00593610
pop ecx
mov ax, word [ebp + 0x14]
push dword [ebp + 0xc]
mov word [esi + 0x2b2], ax
mov ax, word [ebp + 0x10]
push esi
mov word [edi], 1
mov word [esi + 0x2b4], ax
call fcn.0053d61d
pop ecx
mov dword [ebp - 4], ebx
pop ecx
call fcn.00593582
mov dword [ebp - 0x30], eax
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
mov dword [eax], ecx
mov dword [ebp - 0x34], 0x593563
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esi + 0x3c0]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x3c4]
mov dword [esi + 0x33c], eax
mov eax, dword [esi + 0x2d8]
cmp eax, ebx
jne 0x5775a4
cmp dword [esi + 0x188], ebx
jne 0x5775a4
mov ecx, dword [esi + 0x3c0]
cmp ecx, dword [esi + 0x360]
jne 0x5775a4
mov ecx, dword [esi + 0x3c4]
cmp ecx, dword [esi + 0x364]
je 0x577758
xor ecx, ecx
cmp eax, ebx
setne cl
xor eax, eax
cmp dword [esi + 0x188], ebx
push 8
mov dword [ebp - 0x1c], ecx
setne al
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x3c0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0059acbb
mov eax, dword [esi + 0x2d8]
mov edi, dword [esi + 0x33c]
add esp, 0xc
cmp eax, ebx
je 0x5775e6
push esi
call eax
jmp 0x577616
cmp dword [esi + 0x188], ebx
je 0x5775fa
push dword [ebp + 0x14]
push esi
call fcn.00556d72
pop ecx
jmp 0x577616
movsx eax, word [edi]
mov ecx, dword [0x6b2560]
push esi
imul eax, dword [ecx]
add eax, dword [ecx + 0x10]
lea ecx, [edi + 2]
mov dword [esi + 0x33c], ecx
call dword [eax + 0x10]
cmp dword [esi + 0x188], ebx
pop ecx
jne 0x577699
cmp word [ebp + 0x10], bx
jne 0x5776ad
cmp dword [esi + 0x2d8], ebx
je 0x577637
cmp word [ebp - 0x1c], bx
jmp 0x57769d
mov edx, dword [esi + 0x3c0]
cmp dword [ebp - 0x24], edx
jne 0x57765f
mov eax, dword [esi + 0x3c4]
lea ecx, [esi + 0x3c4]
cmp dword [ebp - 0x20], eax
jne 0x57765f
sub eax, edi
add eax, dword [esi + 0x33c]
mov dword [ecx], eax
jmp 0x5776ad
cmp edx, 0xffffffff
jne 0x57767f
cmp dword [esi + 0x3c4], edx
lea eax, [esi + 0x3c4]
jne 0x57767f
mov dword [eax], ebx
mov dword [esi + 0x3c0], ebx
jmp 0x577758
mov eax, dword [esi + 0x3e8]
mov eax, dword [eax + edx]
mov eax, dword [eax + 0x10]
add eax, dword [esi + 0x3c4]
mov dword [esi + 0x33c], eax
jmp 0x5776ad
cmp word [ebp + 0x10], bx
jne 0x5776ad
mov eax, dword [esi + 0x33c]
sub eax, edi
add dword [esi + 0x3c4], eax
cmp word [esi + 0xa6], bx
jne 0x577758
cmp word [ebp + 0x14], bx
je 0x5776e0
push ebx
push esi
call fcn.0054118f
pop ecx
cmp ax, bx
pop ecx
je 0x5776d7
mov word [esi + 0xa4], 1
cmp word [esi + 0xa4], bx
jne 0x577758
cmp dword [ebp - 0x14], 0xffffffff
jae 0x577700
cmp dword [esi + 0x2d8], ebx
jne 0x5776f6
cmp dword [esi + 0x188], ebx
je 0x577700
call fcn.0059d186
cmp eax, dword [ebp - 0x14]
ja 0x577758
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 8
jl 0x577572
mov eax, dword [ebp - 0x18]
push 4
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x577572
cmp dword [ebp - 0x14], 0xffffffff
jae 0x57773e
cmp dword [esi + 0x2d8], ebx
jne 0x57773e
cmp dword [esi + 0x188], ebx
jne 0x57773e
call fcn.0059d186
cmp eax, dword [ebp - 0x14]
jae 0x577758
cmp word [ebp + 0x14], bx
je 0x577572
push esi
call fcn.0053c07f
cmp ax, bx
pop ecx
je 0x577572
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x5777af
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x78]
push esi
push eax
mov word [esi + 0x336], bx
call fcn.0053d67d
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
mov esi, eax
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret