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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4dce9d
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.004db810
mov eax, dword [0x4fd110]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov edx, esi
mov dword [ebp - 0x4c], eax
mov al, byte [edx]
cmp al, 0x20
je 0x462990
cmp al, 9
jne 0x462993
inc edx
jmp 0x462986
test al, al
je 0x4629da
cmp al, 0x2d
je 0x46299f
cmp al, 0x2b
jne 0x4629a6
lea eax, [edx + 1]
mov edx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4629da
mov al, byte [edx + 1]
cmp al, 0x78
je 0x4629b5
cmp al, 0x58
jne 0x4629da
movsx eax, byte [edx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x4629da
push 0x10
push 0
push esi
call fcn.004c4c8d
mov ecx, edx
add esp, 0xc
mov dword [ebp + 0xc], ecx
jmp 0x4629e8
push esi
call fcn.004c4db1
add esp, 4
mov dword [ebp + 0xc], edx
mov ecx, edx
mov dword [ebp - 0x48], eax
test ecx, ecx
jg 0x462a58
jl 0x4629f6
cmp eax, 1
jae 0x462a58
mov eax, dword [0x4f898c]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x462a33
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e37f8
call fcn.004b01a0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x4e3371
push 0
push 0x4e37f8
mov ecx, ebx
call fcn.0044d4a0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4fe290]
mov dword [ebp - 0x44], vtable.TextStream.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp eax, 0xffffffff
je 0x462aa8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
neg eax
sbb al, al
and byte [ebp - 0x2a], al
mov dword [ebp - 0x44], vtable.TextFile.0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov eax, dword [0x4f898c]
mov eax, dword [eax + 0xdc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.004a91c0
test al, al
jne 0x462b31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f898c]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x462b17
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e37f8
call fcn.004b01a0
mov esi, eax
jmp 0x462ce1
push 0x4e3371
push 0
push 0x4e37f8
mov ecx, ebx
call fcn.0044d4a0
mov esi, eax
jmp 0x462ce1
mov eax, dword fs:[0x24]
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
mov ebx, dword [ebp - 0x54]
push edi
mov edi, dword [ebp - 0x58]
mov dword [ebp + 8], eax
nop dword [eax]
push 1
push 0xffff
lea eax, [ebp - 0x10074]
push eax
lea ecx, [ebp - 0x44]
call fcn.004a93b0
mov esi, eax
test esi, esi
je 0x462c67
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f898c]
sub eax, dword [0x4fe0dc]
cmp eax, dword [ecx + 0xb8]
jbe 0x462bc3
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x462bb8
mov eax, dword [ebp + 8]
cmp dword [0x4fda50], eax
jne 0x462bb8
mov edx, 1
or ecx, 0xffffffff
call fcn.004018a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fe0dc], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
jl 0x462b50
jg 0x462bd9
cmp edi, dword [ebp - 0x48]
jb 0x462b50
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x462bfa
cmp dword [ebp - 0x18], 0
jne 0x462bfa
mov eax, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call dword [eax + 0x10]
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x1c], 0
call dword [eax + 8]
test esi, esi
je 0x462c28
cmp byte [ebp + esi - 0x10075], 0xa
jne 0x462c1a
add esi, 0xffffffff
je 0x462c28
push 1
push 0
push esi
lea eax, [ebp - 0x10074]
push eax
jmp 0x462c30
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.004b01a0
test eax, eax
jne 0x462c43
xor esi, esi
jmp 0x462ce0
mov eax, dword [0x4f898c]
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e33f8
mov dword [eax + 0x30], 0
call fcn.004b01a0
jmp 0x462cde
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f898c]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x462c97
cmp dword [ebp - 0x18], 0
jne 0x462c97
mov eax, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call dword [eax + 0x10]
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x1c], 0
call dword [eax + 8]
mov eax, dword [0x4f898c]
test byte [eax + 0xe0], 1
jne 0x462cca
mov ecx, dword [0x4fb94c]
push 1
push 0
push 0xffffffffffffffff
push 0x4e37f8
call fcn.004b01a0
jmp 0x462cde
mov ecx, dword [ebp - 0x50]
push 0x4e3371
push 0
push 0x4e37f8
call fcn.0044d4a0
mov esi, eax
pop edi
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], vtable.TextFile.0
test eax, eax
je 0x462d0f
cmp dword [ebp - 0x18], 0
jne 0x462d0f
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.004a9e00
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x1c], 0
cmp ecx, 0xffffffff
je 0x462d38
mov eax, dword [ebp - 0x40]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x462d31
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], vtable.TextStream.0
test eax, eax
je 0x462d5e
push 0x2000
push 0
push eax
call fcn.004c22a0
push dword [ebp - 0x14]
call fcn.004c4247
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8