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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x574dce
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
test ebx, ebx
je 0x574dab
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3a08]
sub eax, dword [edx]
cmp eax, 0xfa0
jb 0x574dab
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535624
test al, al
je 0x574dab
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535578
test al, al
je 0x574dab
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535714
test al, al
je 0x574dab
lea eax, [ebp - 0x2c]
call fcn.005cb424
cmp dword [ebp - 0x2c], 0
jne 0x574847
mov eax, dword [0x5d3b60]
mov edx, 0x574de8
call fcn.00404468
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d32d4]
mov dword [edx], eax
jmp 0x574dab
cmp dword [ebp - 4], 5
jge 0x57487a
mov eax, dword [ebp - 4]
call fcn.005c96c8
test al, al
jne 0x5748bd
mov eax, dword [0x5d3b60]
mov edx, 0x574e10
call fcn.00404468
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d32d4]
mov dword [edx], eax
jmp 0x574dab
cmp dword [ebp - 4], 5
jne 0x5748bd
mov eax, 3
call fcn.005c96c8
test al, al
jne 0x5748bd
mov eax, 4
call fcn.005c96c8
test al, al
jne 0x5748bd
mov eax, dword [0x5d3b60]
mov edx, 0x574e10
call fcn.00404468
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d32d4]
mov dword [edx], eax
jmp 0x574dab
mov eax, dword [0x5d3c4c]
cmp byte [eax], 0
je 0x57491d
cmp byte [ebx + 0x65], 0
je 0x57491d
push 0x574e30
mov eax, dword [0x5d3490]
push dword [eax]
push 0x574e30
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 0x30]
push eax
push 0x574e30
push dword [ebx + 0x11c]
push 0x574e30
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 0x34]
pop edx
call fcn.00404a18
test eax, eax
je 0x574dab
mov byte [ebp - 0x1d], 0
call fcn.005c8388
imul eax, eax, 0x35
mov edx, dword [0x5d3260]
add edx, eax
lea eax, [ebp - 0x24]
call fcn.00404678
call fcn.005c8388
imul eax, eax, 0x35
mov edx, dword [0x5d3260]
movzx eax, word [edx + eax + 0x30]
mov dword [ebp - 0x18], eax
cmp ebx, dword [esi + 0x18]
jne 0x5749bc
mov eax, dword [0x5d370c]
cmp dword [eax], 0
jle 0x574964
cmp dword [ebp - 4], 5
jl 0x574974
mov eax, dword [0x5d370c]
cmp dword [eax], 1
jle 0x5749bc
cmp dword [ebp - 4], 5
jne 0x5749bc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3a08]
sub eax, dword [edx]
xor edx, edx
push edx
push eax
mov eax, dword [0x5d32f8]
imul eax, dword [eax], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x5749a0
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5749b1
jmp 0x5749a4
pop edx
pop eax
jle 0x5749b1
mov eax, dword [0x5d3ac0]
mov byte [eax], 0
jmp 0x574dab
mov eax, dword [0x5d370c]
xor edx, edx
mov dword [eax], edx
jmp 0x5749d5
cmp ebx, dword [esi + 0x18]
je 0x5749d5
mov dword [esi + 0x18], ebx
mov eax, dword [0x5d370c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5d3ac0]
mov byte [eax], 0
mov eax, dword [ebx + 0x74]
call fcn.004074a8
call fcn.004074ac
mov byte [ebp - 0x25], al
cmp dword [ebp - 4], 5
jne 0x574a45
mov eax, dword [0x5d370c]
cmp dword [eax], 0
jne 0x574a1c
mov eax, 3
call fcn.005c96c8
test al, al
je 0x574a0c
mov dword [ebp - 4], 3
jmp 0x574a35
mov eax, dword [0x5d370c]
inc dword [eax]
mov dword [ebp - 4], 4
jmp 0x574a35
mov eax, 4
call fcn.005c96c8
test al, al
je 0x574dab
mov dword [ebp - 4], 4
test byte [ebp - 0x25], 0x80
je 0x574a45
test byte [ebp - 0x25], 0x40
jne 0x574dab
cmp dword [ebp - 4], 3
jne 0x574a55
test byte [ebp - 0x25], 0x80
jne 0x574dab
cmp dword [ebp - 4], 4
jne 0x574a65
test byte [ebp - 0x25], 0x40
jne 0x574dab
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x574bdf
inc edi
mov dword [ebp - 0xc], 0
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.00419afc
mov esi, eax
lea eax, [ebp - 0x38]
mov edx, esi
call fcn.00404678
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
call fcn.00404820
jne 0x574bd5
mov eax, dword [esi + 0xf]
cmp eax, dword [ebp - 4]
jne 0x574bd5
cmp dword [ebp - 0x18], 0x12c
jle 0x574bdf
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535624
test al, al
je 0x574dab
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535578
test al, al
je 0x574dab
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535714
test al, al
je 0x574dab
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3a08]
mov dword [edx], eax
cmp dword [ebp - 4], 3
jne 0x574b25
mov eax, dword [0x5d3368]
mov edx, 0x574e3c
call fcn.00404468
jmp 0x574b34
mov eax, dword [0x5d3368]
mov edx, 0x574e50
call fcn.00404468
mov eax, dword [0x5d3368]
push dword [eax]
push dword [ebp - 0x24]
push 0x574e64
mov eax, dword [0x5d3368]
mov edx, 3
call fcn.00404794
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3f30]
mov dword [edx], eax
mov eax, dword [0x5d3b60]
mov edx, dword [0x5d3368]
mov edx, dword [edx]
call fcn.00404468
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d32d4]
mov dword [edx], eax
lea eax, [ebp - 0x3c]
call fcn.005cb424
mov eax, dword [ebp - 0x3c]
push eax
push ebx
movzx ecx, word [ebx + 0x122]
movzx edx, word [ebx + 0x120]
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.0054518c
mov eax, dword [0x5d370c]
inc dword [eax]
mov eax, dword [0x5d3ac0]
mov byte [eax], 0
mov eax, dword [0x5d3d3c]
inc dword [eax]
mov eax, dword [0x5d387c]
inc dword [eax]
mov eax, dword [0x5d327c]
inc dword [eax]
mov dword [ebp - 8], 1
jmp 0x574dab
inc dword [ebp - 0xc]
dec edi
jne 0x574a80
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], 0x7fffffff
cmp byte [ebp - 0x1d], 0
jne 0x574c90
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x5d3d10]
cmp byte [ebp - 0x1d], 0
jne 0x574c90
cmp byte [ebx], 0
je 0x574c80
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x574c80
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00419afc
mov esi, eax
cmp byte [esi], 0
je 0x574c7a
mov eax, dword [esi + 0xf]
cmp eax, dword [ebp - 4]
jne 0x574c7a
mov eax, esi
mov edx, ebx
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402da0
jne 0x574c7a
cmp word [ebx + 0x30], 0x12c
jbe 0x574c7a
movzx eax, word [ebx + 0x30]
cmp eax, dword [ebp - 0x1c]
jge 0x574c7a
movzx eax, word [ebx + 0x30]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x574c80
inc dword [ebp - 0x10]
dec edi
jne 0x574c28
inc dword [ebp - 0xc]
add ebx, 0x35
cmp dword [ebp - 0xc], 0x2e
jne 0x574c02
cmp byte [ebp - 0x1d], 0
jne 0x574cfb
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x574cfb
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [0x5d3a70]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00419afc
mov esi, eax
mov eax, dword [esi + 0xf]
cmp eax, dword [ebp - 4]
jne 0x574cf5
cmp byte [esi + 0x13], 0
je 0x574cf5
lea eax, [ebp - 0x40]
lea edx, [esi + 0x13]
call fcn.00404678
mov eax, dword [ebp - 0x40]
call fcn.005c5ad0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x574cf5
mov eax, dword [ebp - 0x14]
call fcn.005c4b40
jmp 0x574dab
inc dword [ebp - 0x10]
dec edi
jne 0x574cad
cmp byte [ebp - 0x1d], 0
je 0x574dab
call fcn.005c8388
cmp eax, 5
jne 0x574d86
call fcn.005c8388
imul eax, eax, 0x35
mov edx, dword [0x5d3260]
cmp byte [edx + eax], 0
je 0x574d86
call fcn.005c8388
imul eax, eax, 0x35
mov edx, dword [0x5d3260]
add edx, eax
lea eax, [ebp - 0x44]
call fcn.00404678
mov eax, dword [ebp - 0x44]
call fcn.005c5974
test al, al
jne 0x574d86
call fcn.005c8388
imul eax, eax, 0x35
mov edx, dword [0x5d3260]
add edx, eax
lea eax, [ebp - 0x48]
call fcn.00404678
mov eax, dword [ebp - 0x48]
call fcn.005c5a20
test al, al
jne 0x574d86
mov eax, dword [0x5d3260]
mov edx, dword [0x5d36d8]
lea esi, [eax + 0x109]
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.005c8388
mov ecx, eax
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00548400
mov dword [ebp - 8], 2
mov eax, dword [0x5d3ac0]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574dd5
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.00404438
lea eax, [ebp - 0x24]
call fcn.00404414
ret