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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ceafd
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.004cd3a0
mov eax, dword [0x4eceb0]
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 0x4540f0
cmp al, 9
jne 0x4540f3
inc edx
jmp 0x4540e6
test al, al
je 0x45413a
cmp al, 0x2d
je 0x4540ff
cmp al, 0x2b
jne 0x454106
lea eax, [edx + 1]
mov edx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x45413a
mov al, byte [edx + 1]
cmp al, 0x78
je 0x454115
cmp al, 0x58
jne 0x45413a
movsx eax, byte [edx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x45413a
push 0x10
push 0
push esi
call fcn.004b9a3b
mov ecx, edx
add esp, 0xc
mov dword [ebp + 0xc], ecx
jmp 0x454148
push esi
call fcn.004b94ac
add esp, 4
mov dword [ebp + 0xc], edx
mov ecx, edx
mov dword [ebp - 0x48], eax
test ecx, ecx
jg 0x4541b8
jl 0x454156
cmp eax, 1
jae 0x4541b8
mov eax, dword [0x4e88cc]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x454193
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x4d5231
push 0
push 0x4d9c00
mov ecx, ebx
call fcn.0043e650
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4ee030]
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 0x454208
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 [0x4e88cc]
mov eax, dword [eax + 0xdc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.0049b7d0
test al, al
jne 0x454291
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e88cc]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x454277
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
mov esi, eax
jmp 0x454441
push 0x4d5231
push 0
push 0x4d9c00
mov ecx, ebx
call fcn.0043e650
mov esi, eax
jmp 0x454441
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.0049b9c0
mov esi, eax
test esi, esi
je 0x4543c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e88cc]
sub eax, dword [0x4ede7c]
cmp eax, dword [ecx + 0xb8]
jbe 0x454323
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 0x454318
mov eax, dword [ebp + 8]
cmp dword [0x4ed7f8], eax
jne 0x454318
mov edx, 1
or ecx, 0xffffffff
call fcn.00401730
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ede7c], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
jl 0x4542b0
jg 0x454339
cmp edi, dword [ebp - 0x48]
jb 0x4542b0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x45435a
cmp dword [ebp - 0x18], 0
jne 0x45435a
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 0x454388
cmp byte [ebp + esi - 0x10075], 0xa
jne 0x45437a
add esi, 0xffffffff
je 0x454388
push 1
push 0
push esi
lea eax, [ebp - 0x10074]
push eax
jmp 0x454390
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.004a2730
test eax, eax
jne 0x4543a3
xor esi, esi
jmp 0x454440
mov eax, dword [0x4e88cc]
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
mov dword [eax + 0x30], 0
call fcn.004a2730
jmp 0x45443e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e88cc]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4543f7
cmp dword [ebp - 0x18], 0
jne 0x4543f7
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 [0x4e88cc]
test byte [eax + 0xe0], 1
jne 0x45442a
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
jmp 0x45443e
mov ecx, dword [ebp - 0x50]
push 0x4d5231
push 0
push 0x4d9c00
call fcn.0043e650
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 0x45446f
cmp dword [ebp - 0x18], 0
jne 0x45446f
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.0049c410
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x1c], 0
cmp ecx, 0xffffffff
je 0x454498
mov eax, dword [ebp - 0x40]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x454491
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 0x4544be
push 0x2000
push 0
push eax
call fcn.004b4390
push dword [ebp - 0x14]
call fcn.004b6427
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