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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cc29d
push eax
mov eax, 0x2006c
mov dword fs:[0], esp
call fcn.004cb9b0
mov eax, dword [0x4fb218]
push ebx
mov ebx, ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x54], ebx
call fcn.00405220
mov ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jg 0x46227b
jl 0x46221b
cmp eax, 1
jae 0x46227b
mov eax, dword [0x4f70f4]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x462257
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e413c
call fcn.004b3f70
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x4cdc40
push 0
push 0x4e413c
mov ecx, ebx
call fcn.0044d370
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4fc884]
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 0x4622cb
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
push esi
mov dword [ebp - 0x44], vtable.TextFile.0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov eax, dword [0x4f70f4]
mov eax, dword [eax + 0xfc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.004aca90
test al, al
jne 0x462355
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f70f4]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x46233b
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e413c
call fcn.004b3f70
mov esi, eax
jmp 0x462506
push 0x4cdc40
push 0
push 0x4e413c
mov ecx, ebx
call fcn.0044d370
mov esi, eax
jmp 0x462506
mov eax, dword fs:[0x24]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov ebx, dword [ebp - 0x58]
push edi
mov edi, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
nop dword [eax]
push 1
push 0xffff
lea eax, [ebp - 0x20078]
push eax
lea ecx, [ebp - 0x44]
call fcn.004acc80
mov esi, eax
test esi, esi
je 0x46248a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f70f4]
sub eax, dword [0x4fc694]
cmp eax, dword [ecx + 0xd8]
jbe 0x4623e3
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4623d8
mov eax, dword [ebp + 0xc]
cmp dword [0x4fb2ec], eax
jne 0x4623d8
mov edx, 1
or ecx, 0xffffffff
call fcn.00401830
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fc694], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp - 0x4c]
jl 0x462370
jg 0x4623f9
cmp edi, dword [ebp - 0x50]
jb 0x462370
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x46241a
cmp dword [ebp - 0x18], 0
jne 0x46241a
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x14]
call dword [eax + 0x10]
mov dword [ebp - 0x3c], 0
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x44]
call dword [eax + 8]
test esi, esi
je 0x46244b
cmp word [ebp + esi*2 - 0x2007a], 0xa
jne 0x46243d
add esi, 0xffffffff
je 0x46244b
push 1
push 0
push esi
lea eax, [ebp - 0x20078]
push eax
jmp 0x462453
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x48]
call fcn.004b3f70
test eax, eax
jne 0x462466
xor esi, esi
jmp 0x462505
mov eax, dword [0x4f70f4]
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4cdd08
mov dword [eax + 0x30], 0
call fcn.004b3f70
jmp 0x462503
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f70f4]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4624ba
cmp dword [ebp - 0x18], 0
jne 0x4624ba
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x14]
call dword [eax + 0x10]
mov dword [ebp - 0x3c], 0
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x44]
call dword [eax + 8]
mov eax, dword [0x4f70f4]
test byte [eax + 0x100], 1
jne 0x4624ef
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e413c
call fcn.004b3f70
jmp 0x462503
mov ecx, dword [ebp - 0x54]
push 0x4cdc40
push 0
push 0x4e413c
call fcn.0044d370
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 0x462534
cmp dword [ebp - 0x18], 0
jne 0x462534
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.004ad630
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ebp - 0x1c], ax
cmp ecx, 0xffffffff
je 0x46255f
mov eax, dword [ebp - 0x40]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x462558
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 0x462586
push 0x2000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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