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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [0x4e96e8]
cmp dword [eax], 0
je 0x484179
mov eax, dword [0x4e9790]
cmp dword [eax], 0
jl 0x484027
mov eax, dword [ebp - 4]
call fcn.0048a660
test al, al
je 0x484027
mov eax, dword [ebp - 4]
call fcn.0048a61c
test al, al
je 0x484027
mov eax, dword [0x4e9790]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jne 0x483c8d
mov eax, dword [0x4e96cc]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
cmp eax, dword [edx + 0xc]
je 0x484027
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4e9790]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e96cc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004d5b6c
mov byte [ebp - 0x19], al
mov eax, dword [0x4e9b34]
mov al, byte [eax]
sub al, 1
jb 0x483ce6
je 0x483f4a
jmp 0x484027
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
call fcn.004d8b40
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov cl, byte [ebp - 0x19]
mov edx, 0xbc3
mov eax, dword [ebp - 4]
call fcn.0048a79c
test al, al
je 0x483f3a
cmp dword [ebp - 0x18], 0
jle 0x483f3a
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov al, byte [ebp - 0x19]
call fcn.004d59e8
mov byte [ebp - 0x1c], 1
mov byte [ebp - 0x1d], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x4f1c00]
call fcn.004ce83c
test al, al
jne 0x483f03
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1a], 0
cmp byte [ebp - 0x1c], 0
jne 0x483d93
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov al, byte [ebp - 0x19]
call fcn.004d59e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00486a18
test al, al
je 0x483d93
mov byte [ebp - 0x1d], 1
cmp byte [ebp - 0x1d], 0
jne 0x483e51
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x4f1c00]
call fcn.004ce880
test al, al
jne 0x483e51
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 0x19]
call fcn.004d63e8
mov byte [ebp - 0x1a], al
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov al, byte [ebp - 0x1a]
call fcn.004d59e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x4f1c24]
call fcn.004a07b0
test al, al
jne 0x483e4d
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 0x19]
call fcn.004d6410
mov byte [ebp - 0x1a], al
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov al, byte [ebp - 0x1a]
call fcn.004d59e8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x4f1c24]
call fcn.004a07b0
test al, al
je 0x483e51
mov byte [ebp - 0x1c], 1
jmp 0x483e51
mov byte [ebp - 0x1c], 1
cmp byte [ebp - 0x1c], 0
je 0x483e8e
mov eax, dword [ebp - 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 0x1a]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dx, 0xbc3
call fcn.004d7a00
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9518]
mov dword [edx], eax
jmp 0x484027
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x10]
call fcn.004d5b6c
mov byte [ebp - 0x1b], al
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov al, byte [eax + 0x10]
cmp al, byte [ebp - 0x1b]
je 0x483ef3
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 0x1b]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov dx, 0xbc2
call fcn.004d7904
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
jmp 0x484027
mov eax, dword [ebp - 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 0x19]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dx, 0xbc3
call fcn.004d7a00
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9518]
mov dword [edx], eax
jmp 0x484027
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
jmp 0x484027
mov eax, dword [0x4e9300]
cmp dword [eax], 0
jl 0x48401b
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
call fcn.004d8b78
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004d59b0
cmp eax, 2
jl 0x483ce6
cmp dword [ebp - 0x18], 0
jle 0x483ce6
xor ecx, ecx
mov cl, byte [ebp - 0x19]
mov edx, 0xbc5
mov eax, dword [ebp - 4]
call fcn.0048a79c
test al, al
je 0x48400e
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov al, byte [ebp - 0x19]
call fcn.004d5aa4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [0x4f1c00]
call fcn.004ce674
test al, al
je 0x484027
mov eax, dword [ebp - 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 0x19]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dx, 0xbc5
call fcn.004d7a00
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e9518]
mov dword [edx], eax
jmp 0x484027
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
jmp 0x484027
mov eax, dword [0x4e9300]
inc dword [eax]
jmp 0x483ce6
mov eax, dword [0x4e9790]
mov dword [eax], 0xffffffff
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp dword [eax + 0x254], 0
jle 0x484179
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 4]
mov dword [edx + 0x450], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x260]
mov edx, dword [ebp - 4]
mov dword [edx + 0x454], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp dword [eax + 0x254], 0xbc9
jne 0x4840d3
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x260]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x264]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x258]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0x254]
mov eax, dword [ebp - 4]
call fcn.00488cc0
jmp 0x484111
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x260]
push eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x258]
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov edx, dword [eax + 0x254]
mov eax, dword [ebp - 4]
call fcn.00488c20
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x254], edx
mov eax, dword [0x4e9aa4]
cmp dword [eax], 0xffffffff
je 0x484179
mov eax, dword [0x4e9aa4]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x484162
mov eax, dword [0x4e99ec]
mov eax, dword [eax]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
sub eax, dword [edx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x484179
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
call fcn.004b2d60
mov eax, dword [0x4e9aa4]
mov dword [eax], 0xffffffff
mov esp, ebp
pop ebp
ret