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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6362
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 1
jne 0x4a2ae6
mov dword [ebp - 0x28], 0
push 0x19
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004a4810
add esp, 8
movzx eax, al
test eax, eax
je 0x4a2693
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x19
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.004a5700
add esp, 4
push 0x4ea4a0
lea ecx, [ebp - 0x88]
call fcn.004a0770
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [0x4ea4c8]
push edx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4a26e4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004a0a90
jmp 0x4a2e07
mov eax, dword [ebp - 0x54]
sub eax, 8
mov dword [ebp - 0x28], eax
push 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004a4810
add esp, 8
movzx eax, al
test eax, eax
je 0x4a28af
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x40], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x28]
add edx, 0x2c
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x2c], edx
je 0x4a287e
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x40], 0
jne 0x4a274d
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0
jbe 0x4a274d
jmp 0x4a287e
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [edx], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0xa8]
test ecx, ecx
je 0x4a278d
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047fcd0
add esp, 8
jmp 0x4a271e
push 0x4ea4a0
lea ecx, [ebp - 0x98]
call fcn.004a07a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.004a5700
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004a0ab0
cmp dword [ebp - 0x3c], 0
jne 0x4a2844
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 0
jne 0x4a27e8
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xa8], 1
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xac], 0xea60
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x34]
cmp eax, dword [edx + 0x14]
jb 0x4a280a
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x34]
sub eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x34], eax
jmp 0x4a2814
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x14]
jb 0x4a282d
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
sub eax, dword [edx + 0x14]
mov dword [ebp - 0x40], eax
jmp 0x4a2834
mov dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047fcd0
add esp, 8
jmp 0x4a2879
mov edx, dword [ebp - 0x28]
add edx, 0x2c
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
mov dword [eax], edx
jmp 0x4a287e
jmp 0x4a271e
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0xa2]
test edx, edx
jne 0x4a28af
mov eax, dword [ebp - 0x28]
add eax, 0x2c
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x2c], eax
jne 0x4a28af
push 4
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call fcn.004a5900
add esp, 0xc
push 5
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x10]
push eax
call fcn.004a4810
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a2a64
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x28]
add edx, 0x38
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x38], edx
je 0x4a2a33
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x44], 0
jne 0x4a290f
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0
jbe 0x4a290f
jmp 0x4a2a33
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [edx], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0xa9]
test ecx, ecx
je 0x4a294f
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047fcd0
add esp, 8
jmp 0x4a28e0
push 0x4ea4a0
lea ecx, [ebp - 0xa0]
call fcn.004a07a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.004a5700
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.004a0ab0
cmp dword [ebp - 0x3c], 0
jne 0x4a29f9
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 0
jne 0x4a299d
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xa9], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x14]
jb 0x4a29bf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x40]
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x40], edx
jmp 0x4a29c9
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
cmp eax, dword [edx + 0x14]
jb 0x4a29e2
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0x44], edx
jmp 0x4a29e9
mov dword [ebp - 0x44], 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047fcd0
add esp, 8
jmp 0x4a2a2e
mov ecx, dword [ebp - 0x28]
add ecx, 0x38
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x6c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
mov dword [edx], ecx
jmp 0x4a2a33
jmp 0x4a28e0
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0xa2]
test ecx, ecx
jne 0x4a2a64
mov edx, dword [ebp - 0x28]
add edx, 0x38
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x38], edx
jne 0x4a2a64
push 5
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.004a5900
add esp, 0xc
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x40], 0x100000
ja 0x4a2aab
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x34], 0x100000
ja 0x4a2aab
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x28], 0x40000
ja 0x4a2aab
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x1c], 0x800000
ja 0x4a2aab
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0xa0]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a6010
add esp, 8
push 1
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x10]
push eax
call fcn.004a4810
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a2acf
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a1550
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004a0a90
jmp 0x4a2e07
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 2
jne 0x4a2e07
mov dword [ebp - 0x30], 0
push 0x4ea4a0
lea ecx, [ebp - 0x90]
call fcn.004a0770
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
mov ecx, dword [0x4ea4dc]
push ecx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x4a2b4b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004a0a90
jmp 0x4a2e07
mov edx, dword [ebp - 0x70]
sub edx, 8
mov dword [ebp - 0x30], edx
push 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004a4810
add esp, 8
movzx edx, al
test edx, edx
je 0x4a2c5b
mov eax, dword [ebp - 0x30]
add eax, 0x2c
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x2c], eax
je 0x4a2c2e
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x38], eax
push 0x4ea4a0
lea ecx, [ebp - 0xa8]
call fcn.004a07a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 8
push ecx
call fcn.004a5700
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.004a0ab0
cmp dword [ebp - 0x3c], 0
jne 0x4a2c2c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x34]
cmp ecx, dword [eax + 0x14]
jb 0x4a2be8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x34]
sub ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x34], ecx
jmp 0x4a2bf2
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 4], edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.0047fcd0
add esp, 8
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xbb], 1
jmp 0x4a2c38
mov edx, dword [ebp - 0x30]
mov byte [edx + 0xbb], 0
mov eax, dword [ebp - 0x30]
add eax, 0x2c
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x2c], eax
jne 0x4a2c5b
push 0xc
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call fcn.004a5900
add esp, 0xc
push 0xd
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x10]
push eax
call fcn.004a4810
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a2d8a
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x38
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x38], ecx
je 0x4a2d67
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x38], ecx
push 0x4ea4a0
lea ecx, [ebp - 0xb0]
call fcn.004a07a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x38]
add edx, 8
push edx
call fcn.004a5700
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.004a0ab0
cmp dword [ebp - 0x3c], 0
jne 0x4a2d60
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x14]
jb 0x4a2cfc
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x40]
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x40], edx
jmp 0x4a2d06
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 0x14]
jb 0x4a2d1f
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0x48], edx
jmp 0x4a2d26
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 4], ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.0047fcd0
add esp, 8
cmp dword [ebp - 0x48], 0
jne 0x4a2d5e
jmp 0x4a2d67
jmp 0x4a2d62
jmp 0x4a2d67
jmp 0x4a2c80
mov eax, dword [ebp - 0x30]
add eax, 0x38
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x38], eax
jne 0x4a2d8a
push 0xd
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call fcn.004a5900
add esp, 0xc
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x40], 0x100000
ja 0x4a2dd1
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x34], 0x100000
ja 0x4a2dd1
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x28], 0x800000
ja 0x4a2dd1
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x1c], 0x800000
ja 0x4a2dd1
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0xb9]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a6560
add esp, 8
push 9
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004a4810
add esp, 8
movzx edx, al
test edx, edx
je 0x4a2df5
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a1190
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004a0a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret