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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b25db
mov eax, dword fs:[0]
push eax
mov eax, 0x24a0
call fcn.00589140
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2418], 0
mov dword [ebp - 0x241c], 0
mov dword [ebp - 0x2420], 0
mov dword [ebp - 0x2424], 0
mov dword [ebp - 0x2428], 0
mov dword [ebp - 0x242c], 0
mov dword [ebp - 0x2434], 0
mov dword [ebp - 0x2430], 0
mov dword [ebp - 0x243c], 0
mov dword [ebp - 0x2438], 0
mov dword [ebp - 0x2444], 0
mov dword [ebp - 0x2440], 0
mov dword [ebp - 0x244c], 0
mov dword [ebp - 0x2448], 0
mov dword [ebp - 0x2454], 0
mov dword [ebp - 0x2450], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00515d30
push eax
lea ecx, [ebp - 0x245c]
call fcn.00508880
mov dword [ebp - 4], 0
push 0x2400
push 0
lea eax, [ebp - 0x2414]
push eax
call fcn.00588eb0
add esp, 0xc
mov dword [ebp - 0x241c], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00536d90
push 0x6b2c70
call fcn.00537b80
add esp, 4
mov dword [0x6b2d78], eax
mov eax, dword [0x6b2d78]
push eax
call fcn.00513ce0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x5375a5
mov ecx, dword [ebp - 0x14]
call fcn.005109d0
movzx eax, al
test eax, eax
jne 0x5375a5
push 0x6b2c70
call fcn.00537b80
add esp, 4
mov dword [0x6b2d78], eax
push 0x1e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
call eax
jmp 0x53755e
mov ecx, dword [ebp - 0x14]
call fcn.005109d0
movzx eax, al
test eax, eax
jne 0x537b2d
movzx eax, byte [0x6b2d70]
test eax, eax
je 0x53767f
call fcn.00537d10
movzx eax, al
test eax, eax
jne 0x53767f
lea ecx, [ebp - 0x245c]
call fcn.005088c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.005363b0
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
mov dword [0x6b2d7c], 0
movzx eax, byte [0x6b2d70]
test eax, eax
je 0x537635
call fcn.00537d10
movzx eax, al
test eax, eax
jne 0x537635
mov ecx, dword [ebp - 0x14]
call fcn.005109d0
movzx eax, al
test eax, eax
jne 0x537635
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x537605
mov ecx, dword [ebp - 0x14]
call fcn.005109d0
movzx eax, al
test eax, eax
je 0x537649
jmp 0x537b2d
mov dword [ebp - 0x243c], 0
mov dword [ebp - 0x2438], 0
mov eax, dword [ebp - 0x243c]
mov dword [ebp - 0x2444], eax
mov ecx, dword [ebp - 0x2438]
mov dword [ebp - 0x2440], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2e4], 0
lea ecx, [ebp - 0x245c]
call fcn.005088c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.00536ea0
movzx eax, al
test eax, eax
je 0x5376b8
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.0054c730
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x1cc]
je 0x5376e4
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00536d90
movzx eax, al
test eax, eax
jne 0x5376d9
jmp 0x5375a5
lea ecx, [ebp - 0x245c]
call fcn.005088c0
push 0x2000
lea eax, [ebp - 0x2414]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.00537ba0
mov dword [ebp - 0x2418], eax
cmp dword [ebp - 0x2418], 0
jle 0x5377e6
mov dword [ebp - 0x242c], 0
mov eax, dword [ebp - 0x2418]
mov byte [ebp + eax - 0x2414], 0
cmp dword [ebp - 0x2418], 8
jle 0x537774
movsx eax, byte [ebp - 0x2414]
cmp eax, 0x64
jne 0x537774
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.00527170
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.0044bc30
push eax
mov eax, dword [ebp - 0x2418]
push eax
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00529000
add esp, 0x10
jmp 0x5377bc
movzx eax, byte [0x6b2d70]
test eax, eax
jne 0x5377bc
mov eax, dword [ebp - 0x14]
add eax, 0x1b4
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.00527170
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.0044bc30
push eax
mov ecx, dword [ebp - 0x2418]
push ecx
lea edx, [ebp - 0x2414]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00538ea0
cmp dword [ebp - 0x2418], 8
jle 0x5377df
mov eax, dword [ebp - 0x241c]
mov ecx, dword [ebp - 0x241c]
add ecx, 1
mov dword [ebp - 0x241c], ecx
cmp eax, 0x12
jge 0x5377e4
jmp 0x5375a5
jmp 0x53784e
cmp dword [ebp - 0x2418], 0
jge 0x53781a
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00536d90
movzx eax, al
test eax, eax
jne 0x537810
jmp 0x5375a5
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x53784e
cmp dword [ebp - 0x2418], 0
jne 0x53784e
cmp dword [ebp - 0x241c], 0
jne 0x53783f
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x242c]
add eax, 1
mov dword [ebp - 0x242c], eax
movzx eax, byte [0x6b2d70]
test eax, eax
jne 0x537ae6
lea ecx, [ebp - 0x245c]
call fcn.005088c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2420], eax
mov eax, dword [ebp - 0x2420]
sub eax, dword [ebp - 0x2428]
cmp eax, 0x28
jb 0x5378a7
mov ecx, dword [ebp - 0x14]
call fcn.00538800
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2428], eax
mov eax, dword [ebp - 0x2428]
mov dword [ebp - 0x2424], eax
jmp 0x5378cc
mov eax, dword [ebp - 0x2420]
sub eax, dword [ebp - 0x2424]
cmp eax, 0x14
jb 0x5378cc
mov ecx, dword [ebp - 0x14]
call fcn.00538b90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2424], eax
call fcn.00514000
mov dword [ebp - 0x2454], eax
mov dword [ebp - 0x2450], edx
mov eax, dword [ebp - 0x2454]
sub eax, dword [ebp - 0x2434]
mov ecx, dword [ebp - 0x2450]
sbb ecx, dword [ebp - 0x2430]
cdq
push edx
push eax
call fcn.005149a0
add esp, 8
mov dword [ebp - 0x24a4], eax
mov dword [ebp - 0x24a0], edx
cmp dword [ebp - 0x24a0], 0
jl 0x537951
jg 0x537920
cmp dword [ebp - 0x24a4], 3
jb 0x537951
mov ecx, dword [ebp - 0x14]
call fcn.00538160
call fcn.00514000
mov dword [ebp - 0x2434], eax
mov dword [ebp - 0x2430], edx
mov eax, dword [ebp - 0x2434]
mov dword [ebp - 0x2454], eax
mov ecx, dword [ebp - 0x2430]
mov dword [ebp - 0x2450], ecx
mov eax, dword [ebp - 0x2454]
sub eax, dword [ebp - 0x2444]
mov ecx, dword [ebp - 0x2450]
sbb ecx, dword [ebp - 0x2440]
cdq
push edx
push eax
call fcn.005149a0
add esp, 8
mov dword [ebp - 0x24a4], eax
mov dword [ebp - 0x24a0], edx
cmp dword [ebp - 0x24a0], 0
jl 0x5379d9
jg 0x537997
cmp dword [ebp - 0x24a4], 0x12c
jb 0x5379d9
mov ecx, dword [ebp - 0x14]
call fcn.00538010
mov eax, dword [ebp - 0x2454]
mov dword [ebp - 0x243c], eax
mov ecx, dword [ebp - 0x2450]
mov dword [ebp - 0x2438], ecx
mov edx, dword [ebp - 0x243c]
mov dword [ebp - 0x2444], edx
mov eax, dword [ebp - 0x2438]
mov dword [ebp - 0x2440], eax
push 0x23
call fcn.00537c80
add esp, 4
mov eax, dword [ebp - 0x2454]
sub eax, dword [ebp - 0x243c]
mov ecx, dword [ebp - 0x2450]
sbb ecx, dword [ebp - 0x2438]
cdq
push edx
push eax
call fcn.005149a0
add esp, 8
mov ecx, eax
mov esi, edx
mov eax, dword [0x6aab70]
cdq
mov dword [ebp - 0x24a4], ecx
mov dword [ebp - 0x24a0], esi
mov dword [ebp - 0x24ac], eax
mov dword [ebp - 0x24a8], edx
mov edx, dword [ebp - 0x24a0]
cmp edx, dword [ebp - 0x24a8]
jl 0x537a9e
jg 0x537a3c
mov eax, dword [ebp - 0x24a4]
cmp eax, dword [ebp - 0x24ac]
jb 0x537a9e
call fcn.0053c0b0
test eax, eax
je 0x537a64
mov eax, dword [ebp - 0x14]
add eax, 0x1b4
push eax
mov ecx, dword [0x6b2d74]
push ecx
mov edx, dword [0x6b2d78]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00538130
mov eax, dword [ebp - 0x2454]
mov dword [ebp - 0x243c], eax
mov ecx, dword [ebp - 0x2450]
mov dword [ebp - 0x2438], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x2e4]
test ecx, ecx
jne 0x537a9e
mov dword [ebp - 0x2444], 0
mov dword [ebp - 0x2440], 0
mov eax, dword [ebp - 0x2454]
cmp eax, dword [ebp - 0x244c]
jne 0x537aba
mov ecx, dword [ebp - 0x2450]
cmp ecx, dword [ebp - 0x2448]
je 0x537ae6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2e0], 0
je 0x537ae6
mov eax, dword [ebp - 0x244c]
mov dword [ebp - 0x2454], eax
mov ecx, dword [ebp - 0x2448]
mov dword [ebp - 0x2450], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00537d50
cmp dword [ebp - 0x242c], 4
jb 0x537b02
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x241c], 0x12
jl 0x537b1e
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x241c], 0
jmp 0x5375a5
lea ecx, [ebp - 0x245c]
call fcn.005088c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b4
call fcn.005363b0
lea ecx, [ebp - 0x245c]
call fcn.00528fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x245c]
call fcn.00508900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret