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

Disassembly:
push 0xffffffffffffffff
push 0x491cdb
mov eax, dword fs:[0]
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.0048dcd0
mov eax, dword [0x4a6c10]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, esi
call fcn.0040c8e0
test al, al
je 0x43eff9
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.004833bf
add esp, 0xc
jmp 0x43f004
push esi
call fcn.00482c01
add esp, 4
xor ebx, ebx
mov ebp, edx
mov dword [esp + 0x4c], eax
cmp ebp, ebx
jg 0x43f060
jl 0x43f015
cmp eax, 1
jae 0x43f060
mov eax, dword [0x4a3440]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe4], bl
jne 0x43f044
mov ecx, dword [0x4a7474]
push 1
push ebx
push 0xffffffffffffffff
push 0x496ed0
push ecx
call fcn.004715e0
jmp 0x43f344
mov ecx, dword [esp + 0x10088]
push 0x4957f9
push ebx
push 0x496ed0
call fcn.0042cd10
jmp 0x43f344
mov eax, dword [0x4a94e0]
or edi, 0xffffffff
mov dword [esp + 0x14], vtable.TextStream.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp eax, edi
je 0x43f0a4
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43f0a4
mov byte [esp + 0x2e], bl
mov dword [esp + 0x14], vtable.TextFile.0
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x1008c]
mov dword [esp + 0x10080], ebx
mov eax, dword [0x4a3440]
mov esi, dword [eax + 0xd8]
push 0x30c
push ecx
lea ecx, [esp + 0x1c]
and esi, 0x7fffffff
mov dword [esp + 0x24], ebx
call dword [0x499a80]
test al, al
je 0x43f0fd
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x14]
call fcn.0046c700
xor ebx, ebx
test al, al
jne 0x43f158
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a3440]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0xe4], bl
jne 0x43f135
mov edx, dword [0x4a7474]
push 1
push ebx
push edi
push 0x496ed0
push edx
call fcn.004715e0
mov dword [esp + 0x10080], edi
jmp 0x43f337
mov ecx, dword [esp + 0x10088]
push 0x4957f9
push ebx
push 0x496ed0
call fcn.0042cd10
mov dword [esp + 0x10080], edi
jmp 0x43f337
xor edi, edi
test ebp, ebp
jl 0x43f27b
jg 0x43f170
cmp dword [esp + 0x4c], ebx
jbe 0x43f27b
mov edi, edi
push 1
push 0xffff
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x20]
call fcn.0046c830
mov esi, eax
test esi, esi
je 0x43f1ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a92d4]
mov ecx, dword [0x4a3440]
cmp eax, dword [ecx + 0xb4]
jbe 0x43f1d3
push 0
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43f1c8
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a92d4], eax
add ebx, 1
adc edi, 0
cmp edi, ebp
jl 0x43f170
jg 0x43f27f
cmp ebx, dword [esp + 0x4c]
jb 0x43f170
jmp 0x43f27f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a3440]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f227
cmp dword [esp + 0x40], 0
jne 0x43f227
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
call edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call edx
mov eax, dword [0x4a3440]
cmp byte [eax + 0xe4], 0
jne 0x43f25e
mov ecx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x496ed0
push ecx
jmp 0x43f327
mov ecx, dword [esp + 0x10088]
push 0x4957f9
push 0
push 0x496ed0
call fcn.0042cd10
jmp 0x43f32c
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f2a9
cmp dword [esp + 0x40], 0
jne 0x43f2a9
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
call edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call edx
test esi, esi
je 0x43f2cb
cmp byte [esp + esi + 0x73], 0xa
jne 0x43f2c7
dec esi
test esi, esi
jne 0x43f2f0
mov ecx, dword [esp + 0x10]
call fcn.00412600
test eax, eax
jne 0x43f309
lea ecx, [esp + 0x14]
mov dword [esp + 0x10080], 0xffffffff
call fcn.00414000
xor eax, eax
jmp 0x43f344
mov ecx, dword [esp + 0x10]
push 1
push 0
push esi
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.004715e0
jmp 0x43f2d4
mov edx, dword [0x4a3440]
mov eax, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x495870
mov dword [edx + 0x30], 0
push eax
call fcn.004715e0
mov dword [esp + 0x10080], 0xffffffff
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00414000
mov eax, esi
mov ecx, dword [esp + 0x10078]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10074
ret 8