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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4983eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x20064
call fcn.00493680
mov eax, dword [0x4c0e18]
push ebx
push esi
push edi
push 1
xor ebx, ebx
push ebx
or edi, 0xffffffff
push edi
mov esi, ecx
mov ecx, dword [0x4c17f0]
push 0x49e30c
mov dword [esp + 0x2c], eax
call fcn.0046dd60
mov eax, esi
call fcn.0040c9b0
test al, al
je 0x43e0d6
push 0x10
push ebx
push esi
call fcn.00487cf3
add esp, 0xc
jmp 0x43e0df
push esi
call fcn.004875d1
add esp, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp edx, ebx
jg 0x43e11b
jl 0x43e0f2
cmp eax, 1
jae 0x43e11b
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], 0x57
mov eax, 1
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4c3fb8]
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 0x43e158
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43e158
mov byte [esp + 0x36], bl
mov dword [esp + 0x20], vtable.TextFile.0
mov dword [esp + 0x50], edi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2007c], ebx
mov eax, dword [0x4bd41c]
mov esi, dword [eax + 0xf0]
push 0x30c
push ecx
lea ecx, [esp + 0x28]
and esi, 0x7fffffff
mov dword [esp + 0x30], ebx
call dword [0x4a3740]
test al, al
je 0x43e1ab
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x20]
call fcn.00468f50
test al, al
jne 0x43e1e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4bd41c]
lea ecx, [esp + 0x20]
mov dword [edx + 0x30], eax
mov dword [esp + 0x2007c], edi
call fcn.00414280
mov eax, 1
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
xor edi, edi
cmp dword [esp + 0x14], ebx
jl 0x43e2fd
jg 0x43e200
cmp dword [esp + 0x10], ebx
jbe 0x43e2fd
push 1
push 0xffff
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.00469080
mov esi, eax
test esi, esi
je 0x43e280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c3c2c]
mov ecx, dword [0x4bd41c]
cmp eax, dword [ecx + 0xd0]
jbe 0x43e263
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43e258
push 1
push 0xffffffffffffffff
call fcn.00401360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c3c2c], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x14]
jl 0x43e200
jg 0x43e301
cmp edi, dword [esp + 0x10]
jb 0x43e200
jmp 0x43e301
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43e2b9
cmp dword [esp + 0x48], 0
jne 0x43e2b9
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 edx, dword [esp + 0x20]
xor eax, eax
mov word [esp + 0x44], ax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x20]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2007c], 0xffffffff
call fcn.00414280
mov eax, 1
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43e32b
cmp dword [esp + 0x48], 0
jne 0x43e32b
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x10]
push ecx
lea ecx, [esp + 0x28]
call eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
xor ecx, ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 0x20]
call eax
test esi, esi
je 0x43e350
cmp word [esp + esi*2 + 0x6e], 0xa
jne 0x43e34c
dec esi
test esi, esi
jne 0x43e392
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x2c]
call fcn.0046dd60
test eax, eax
jne 0x43e39e
lea ecx, [esp + 0x20]
mov dword [esp + 0x2007c], 0xffffffff
call fcn.00414280
xor eax, eax
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push 0
push esi
lea ecx, [esp + 0x7c]
push ecx
jmp 0x43e358
mov edx, dword [0x4bd41c]
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
mov dword [edx + 0x30], 0
call fcn.0046dd60
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x2007c], 0xffffffff
call fcn.00414280
mov ecx, dword [esp + 0x20074]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4