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

Disassembly:
push 0xffffffffffffffff
push 0x4915bb
mov eax, dword fs:[0]
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.0048d590
mov eax, dword [0x4a5c10]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, esi
call fcn.0040c820
test al, al
je 0x43e9b9
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.00482c7f
add esp, 0xc
jmp 0x43e9c4
push esi
call fcn.004824c1
add esp, 4
xor ebx, ebx
mov ebp, edx
mov dword [esp + 0x4c], eax
cmp ebp, ebx
jg 0x43ea20
jl 0x43e9d5
cmp eax, 1
jae 0x43ea20
mov eax, dword [0x4a2440]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe4], bl
jne 0x43ea04
mov ecx, dword [0x4a6474]
push 1
push ebx
push 0xffffffffffffffff
push 0x495ec8
push ecx
call fcn.00471040
jmp 0x43ed04
mov ecx, dword [esp + 0x10088]
push 0x4947f9
push ebx
push 0x495ec8
call fcn.0042c870
jmp 0x43ed04
mov eax, dword [0x4a84e0]
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 0x43ea64
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43ea64
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 [0x4a2440]
mov esi, dword [eax + 0xd8]
push 0x30c
push ecx
lea ecx, [esp + 0x1c]
and esi, 0x7fffffff
mov dword [esp + 0x24], ebx
call dword [0x498a20]
test al, al
je 0x43eabd
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x14]
call fcn.0046c0c0
xor ebx, ebx
test al, al
jne 0x43eb18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a2440]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0xe4], bl
jne 0x43eaf5
mov edx, dword [0x4a6474]
push 1
push ebx
push edi
push 0x495ec8
push edx
call fcn.00471040
mov dword [esp + 0x10080], edi
jmp 0x43ecf7
mov ecx, dword [esp + 0x10088]
push 0x4947f9
push ebx
push 0x495ec8
call fcn.0042c870
mov dword [esp + 0x10080], edi
jmp 0x43ecf7
xor edi, edi
test ebp, ebp
jl 0x43ec3b
jg 0x43eb30
cmp dword [esp + 0x4c], ebx
jbe 0x43ec3b
mov edi, edi
push 1
push 0xffff
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x20]
call fcn.0046c1f0
mov esi, eax
test esi, esi
je 0x43ebae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a82d4]
mov ecx, dword [0x4a2440]
cmp eax, dword [ecx + 0xb4]
jbe 0x43eb93
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 0x43eb88
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a82d4], eax
add ebx, 1
adc edi, 0
cmp edi, ebp
jl 0x43eb30
jg 0x43ec3f
cmp ebx, dword [esp + 0x4c]
jb 0x43eb30
jmp 0x43ec3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a2440]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ebe7
cmp dword [esp + 0x40], 0
jne 0x43ebe7
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 [0x4a2440]
cmp byte [eax + 0xe4], 0
jne 0x43ec1e
mov ecx, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x495ec8
push ecx
jmp 0x43ece7
mov ecx, dword [esp + 0x10088]
push 0x4947f9
push 0
push 0x495ec8
call fcn.0042c870
jmp 0x43ecec
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ec69
cmp dword [esp + 0x40], 0
jne 0x43ec69
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 0x43ec8b
cmp byte [esp + esi + 0x73], 0xa
jne 0x43ec87
dec esi
test esi, esi
jne 0x43ecb0
mov ecx, dword [esp + 0x10]
call fcn.00412530
test eax, eax
jne 0x43ecc9
lea ecx, [esp + 0x14]
mov dword [esp + 0x10080], 0xffffffff
call fcn.00413fe0
xor eax, eax
jmp 0x43ed04
mov ecx, dword [esp + 0x10]
push 1
push 0
push esi
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.00471040
jmp 0x43ec94
mov edx, dword [0x4a2440]
mov eax, dword [0x4a6474]
push 1
push 0
push 0xffffffffffffffff
push 0x494870
mov dword [edx + 0x30], 0
push eax
call fcn.00471040
mov dword [esp + 0x10080], 0xffffffff
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00413fe0
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