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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bdfad
push eax
mov eax, 0x2006c
mov dword fs:[0], esp
call fcn.004bd970
mov eax, dword [0x4eb028]
push ebx
mov ebx, ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x54], ebx
call fcn.0041ef50
mov ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jg 0x45354b
jl 0x4534eb
cmp eax, 1
jae 0x45354b
mov eax, dword [0x4e7024]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x453527
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4eac
call fcn.004a5f40
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x4bfb90
push 0
push 0x4d4eac
mov ecx, ebx
call fcn.0043e390
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4ec694]
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 0x45359b
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 [0x4e7024]
mov eax, dword [eax + 0xfc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.0049eb50
test al, al
jne 0x453625
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e7024]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x45360b
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4eac
call fcn.004a5f40
mov esi, eax
jmp 0x4537d6
push 0x4bfb90
push 0
push 0x4d4eac
mov ecx, ebx
call fcn.0043e390
mov esi, eax
jmp 0x4537d6
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.0049ed40
mov esi, eax
test esi, esi
je 0x45375a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e7024]
sub eax, dword [0x4ec4a4]
cmp eax, dword [ecx + 0xd8]
jbe 0x4536b3
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 0x4536a8
mov eax, dword [ebp + 0xc]
cmp dword [0x4eb104], eax
jne 0x4536a8
mov edx, 1
or ecx, 0xffffffff
call fcn.004016d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ec4a4], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp - 0x4c]
jl 0x453640
jg 0x4536c9
cmp edi, dword [ebp - 0x50]
jb 0x453640
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4536ea
cmp dword [ebp - 0x18], 0
jne 0x4536ea
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 0x45371b
cmp word [ebp + esi*2 - 0x2007a], 0xa
jne 0x45370d
add esi, 0xffffffff
je 0x45371b
push 1
push 0
push esi
lea eax, [ebp - 0x20078]
push eax
jmp 0x453723
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x48]
call fcn.004a5f40
test eax, eax
jne 0x453736
xor esi, esi
jmp 0x4537d5
mov eax, dword [0x4e7024]
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc14
mov dword [eax + 0x30], 0
call fcn.004a5f40
jmp 0x4537d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e7024]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45378a
cmp dword [ebp - 0x18], 0
jne 0x45378a
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 [0x4e7024]
test byte [eax + 0x100], 1
jne 0x4537bf
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4eac
call fcn.004a5f40
jmp 0x4537d3
mov ecx, dword [ebp - 0x54]
push 0x4bfb90
push 0
push 0x4d4eac
call fcn.0043e390
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 0x453804
cmp dword [ebp - 0x18], 0
jne 0x453804
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.0049f6f0
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ebp - 0x1c], ax
cmp ecx, 0xffffffff
je 0x45382f
mov eax, dword [ebp - 0x40]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x453828
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 0x453856
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