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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f55b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10064
call fcn.0048b400
mov eax, dword [0x4a2bd0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
push edi
mov eax, esi
call fcn.0040c660
test al, al
je 0x43de3f
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.00480aef
add esp, 0xc
jmp 0x43de4a
push esi
call fcn.00480331
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp edx, ebx
jg 0x43dec6
jl 0x43de5d
cmp eax, 1
jae 0x43dec6
mov eax, dword [0x49f440]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe4], bl
jne 0x43de9c
mov ecx, dword [0x4a3434]
push ecx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
mov ecx, dword [esp + 0x10074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x4927f1
push ebx
push 0x493f18
call fcn.0042cb70
mov ecx, dword [esp + 0x10074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4a549c]
or edi, 0xffffffff
mov dword [esp + 0x20], vtable.TextStream.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, edi
je 0x43df06
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43df06
mov byte [esp + 0x36], bl
mov dword [esp + 0x20], vtable.TextFile.0
mov dword [esp + 0x50], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1007c], ebx
mov eax, dword [0x49f440]
mov esi, dword [eax + 0xd8]
push 0x30c
push ecx
lea ecx, [esp + 0x28]
and esi, 0x7fffffff
mov dword [esp + 0x30], ebx
call dword [0x496b58]
test al, al
je 0x43df5b
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x20]
call fcn.0046a2d0
xor ebx, ebx
test al, al
jne 0x43dfb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49f440]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0xe4], bl
jne 0x43df91
mov edx, dword [0x4a3434]
push edx
mov eax, edi
mov ecx, 0x493f18
call fcn.004011f0
mov dword [esp + 0x1007c], edi
jmp 0x43e19e
mov ecx, dword [ebp + 8]
push 0x4927f1
push ebx
push 0x493f18
call fcn.0042cb70
mov dword [esp + 0x1007c], edi
jmp 0x43e19e
xor edi, edi
cmp dword [esp + 0x14], ebx
jl 0x43e0d4
jg 0x43dfd0
cmp dword [esp + 0x10], ebx
jbe 0x43e0d4
jmp 0x43dfd0
push 1
push 0xffff
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0046a400
mov esi, eax
test esi, esi
je 0x43e051
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a5274]
mov edx, dword [0x49f440]
cmp eax, dword [edx + 0xb4]
jbe 0x43e034
push 0
push 0
push 0
push 0
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43e029
push 1
push 0xffffffffffffffff
call fcn.004012a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5274], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x14]
jl 0x43dfd0
jg 0x43e0d8
cmp edi, dword [esp + 0x10]
jb 0x43dfd0
jmp 0x43e0d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49f440]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43e08a
cmp dword [esp + 0x48], 0
jne 0x43e08a
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
call edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call edx
mov eax, dword [0x49f440]
cmp byte [eax + 0xe4], 0
jne 0x43e0bb
mov ecx, dword [0x4a3434]
push ecx
mov ecx, 0x493f18
jmp 0x43e18b
mov ecx, dword [ebp + 8]
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
jmp 0x43e193
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43e102
cmp dword [esp + 0x48], 0
jne 0x43e102
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
call edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call edx
test esi, esi
je 0x43e124
cmp byte [esp + esi + 0x6f], 0xa
jne 0x43e120
dec esi
test esi, esi
jne 0x43e166
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x2c]
call fcn.0046f180
test eax, eax
jne 0x43e172
lea ecx, [esp + 0x20]
mov dword [esp + 0x1007c], 0xffffffff
call fcn.00414190
xor eax, eax
mov ecx, dword [esp + 0x10074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push esi
lea eax, [esp + 0x7c]
push eax
jmp 0x43e12c
mov ecx, dword [0x49f440]
mov edx, dword [0x4a3434]
mov dword [ecx + 0x30], 0
push edx
mov ecx, 0x492868
or eax, 0xffffffff
call fcn.004011f0
mov dword [esp + 0x1007c], 0xffffffff
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00414190
mov ecx, dword [esp + 0x10074]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8