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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
xor eax, eax
push ebp
push 0x57462f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d3c38]
mov dword [eax], 2
mov eax, dword [0x5d3854]
mov byte [eax], 1
test esi, esi
je 0x574614
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx eax, word [eax + 0x120]
cmp eax, dword [esi + 4]
jne 0x5743aa
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx eax, word [eax + 0x122]
cmp eax, dword [esi + 8]
jne 0x5743aa
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
xor edx, edx
call fcn.005cf318
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d34a4]
mov dword [edx], eax
cmp byte [esi + 0x55], 0
je 0x5741bd
mov eax, dword [0x5d3f98]
mov dword [eax], 0xc8
mov eax, dword [0x5d3dd8]
mov dword [eax], 2
jmp 0x5741d3
mov eax, dword [0x5d3f98]
mov dword [eax], 0x64
mov eax, dword [0x5d3dd8]
mov dword [eax], 1
mov eax, dword [0x5d3400]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5d323c]
mov byte [eax], 1
mov eax, dword [0x5d3b8c]
mov dword [eax], 0x320
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d36d0]
mov dword [edx], eax
mov eax, dword [0x5d31f0]
cmp byte [eax], 0
jne 0x574215
mov eax, dword [0x5d33c4]
lea edx, [esi + 0xc]
call fcn.00404678
jmp 0x57422c
mov eax, dword [0x5d31f0]
mov byte [eax], 0
mov eax, dword [0x5d33c4]
mov edx, 0x574648
call fcn.00404468
mov eax, dword [0x5d3854]
mov byte [eax], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x35], eax
mov byte [esi + 0x4f], 1
mov eax, dword [0x5d37a4]
cmp byte [eax], 0
je 0x574393
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x57428c
inc edi
mov dword [ebp - 4], 0
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00419afc
mov ebx, eax
mov dword [ebx + 0x51], 0xffffffff
mov byte [ebx + 0x50], 0
inc dword [ebp - 4]
dec edi
jne 0x57426a
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x5742d3
inc edi
mov dword [ebp - 4], 0
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00419afc
mov ebx, eax
cmp byte [ebx + 0x50], 0
jne 0x5742cd
mov byte [ebx + 0x50], 1
push ebp
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.005740a4
pop ecx
inc dword [ebp - 0xc]
inc dword [ebp - 4]
dec edi
jne 0x5742a3
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x574330
inc edi
mov dword [ebp - 4], 0
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00419afc
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x35]
cmp eax, 0xea60
jbe 0x574319
cmp byte [ebx + 0x4f], 0
je 0x574319
mov byte [ebx + 0x4f], 0
cmp byte [ebx + 0x4f], 0
je 0x57432a
mov eax, dword [esi + 0x51]
cmp eax, dword [ebx + 0x51]
jne 0x57432a
inc dword [ebp - 8]
inc dword [ebp - 4]
dec edi
jne 0x5742ef
cmp dword [ebp - 8], 3
jl 0x574393
push 0xffffff
mov eax, dword [0x5d3f60]
mov eax, dword [eax]
mov ecx, 0xff
mov edx, 0x574658
call fcn.005b2b94
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x574393
inc edi
mov dword [ebp - 4], 0
mov eax, dword [0x5d3c64]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00419afc
mov ebx, eax
mov eax, dword [ebx + 0x51]
cmp eax, dword [esi + 0x51]
jne 0x574389
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x35], eax
mov byte [ebx + 0x50], 0
inc dword [ebp - 4]
dec edi
jne 0x574368
mov eax, dword [0x5d3a14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5d3f34]
xor edx, edx
mov dword [eax], edx
jmp 0x574614
mov eax, dword [0x5d3bc0]
cmp byte [eax], 0
je 0x5745cd
mov eax, dword [0x5d3614]
cmp dword [eax], 0
je 0x5745cd
mov eax, dword [0x5d3610]
cmp dword [eax], 0
je 0x5745cd
cmp byte [esi + 0x55], 0
jne 0x5745cd
cmp dword [esi + 0x3d], 2
jne 0x5745cd
mov eax, dword [esi + 8]
push eax
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx edx, word [eax + 0x122]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx eax, word [eax + 0x120]
mov ecx, dword [esi + 4]
call fcn.005c40a0
cmp eax, 2
jle 0x5745cd
mov eax, dword [0x5d3e54]
cmp byte [eax], 0
je 0x5745cd
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d31c8]
sub eax, dword [edx]
xor edx, edx
push edx
push eax
mov eax, dword [0x5d3698]
mov eax, dword [eax]
cdq
cmp edx, dword [esp + 4]
jne 0x574453
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5745cd
jmp 0x57445b
pop edx
pop eax
jle 0x5745cd
mov eax, dword [0x5d3bac]
mov eax, dword [eax]
call fcn.005c52e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x574614
lea eax, [ebp - 0x14]
imul edx, dword [ebp - 8], 0x35
mov ecx, dword [0x5d3260]
lea edx, [ecx + edx]
call fcn.00404678
mov eax, dword [ebp - 0x14]
mov edx, dword [0x5d3614]
mov edx, dword [edx]
call fcn.00404820
je 0x57452b
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [0x5d3f18]
mov byte [eax], 1
mov eax, dword [0x5d3810]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [0x5d32a0]
imul edx, dword [ebp - 8], 0x35
mov ecx, dword [0x5d3260]
lea edx, [ecx + edx]
call fcn.00404678
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, dword [0x5d3d10]
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404678
mov eax, dword [ebp - 0x18]
mov edx, dword [0x5d3614]
mov edx, dword [edx]
call fcn.00404820
jne 0x5744fe
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x57450a
inc dword [ebp - 4]
add ebx, 0x35
cmp dword [ebp - 4], 0x2e
jne 0x5744da
cmp dword [ebp - 0xc], 0
jl 0x574614
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00548400
jmp 0x574614
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5d3610]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
call fcn.005c4f7c
push 0xffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x574680
call fcn.00404720
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5d3f60]
mov eax, dword [eax]
mov ecx, 0xff
call fcn.005b2b94
mov eax, dword [0x5d3500]
mov edx, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [0x5d33f8]
mov edx, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [0x5d3600]
lea edx, [esi + 0xc]
call fcn.00404678
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00533810
mov byte [esi + 0x55], 1
mov eax, dword [0x5d34e0]
mov byte [eax], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3fa4]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d36d0]
mov dword [edx], eax
mov eax, dword [0x5d3b8c]
mov dword [eax], 0x3e8
jmp 0x574614
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
cmp byte [eax + 0x119], 0
jne 0x5745e8
mov eax, dword [0x5d3a14]
xor edx, edx
mov dword [eax], edx
jmp 0x574614
mov ecx, 1
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
call fcn.005c48a4
cmp eax, 3
jle 0x574614
mov eax, dword [0x5d3a14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
xor edx, edx
call fcn.005cf318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574636
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404438
ret