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

Disassembly:
push 0xffffffffffffffff
push 0x496bc6
mov eax, dword fs:[0]
push eax
mov eax, 0x10070
mov dword fs:[0], esp
call fcn.004918b0
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10090]
push edi
mov edi, dword [0x4ae860]
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c], edi
call fcn.004133c0
mov ebx, edx
mov ebp, eax
mov dword [esp + 0x50], ebx
test ebx, ebx
jg 0x43e64a
jl 0x43e602
cmp ebp, 1
jae 0x43e64a
mov eax, dword [0x4aa1d8]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x43e632
mov ecx, dword [0x4ad0c8]
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
call fcn.004744e0
jmp 0x43e906
push 0x49bc4d
push 0
push 0x49e628
mov ecx, esi
call fcn.0042c8f0
jmp 0x43e906
lea ecx, [esp + 0x14]
call fcn.00414f50
mov dword [esp + 0x10088], 0
lea ecx, [esp + 0x14]
mov eax, dword [0x4aa1d8]
mov eax, dword [eax + 0xdc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [esp + 0x10098]
call fcn.0046f1f0
test al, al
jne 0x43e6c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa1d8]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x43e6b0
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
jmp 0x43e878
push 0x49bc4d
push 0
push 0x49e628
mov ecx, esi
call fcn.0042c8f0
jmp 0x43e883
xorps xmm0, xmm0
movlpd qword [esp + 0x54], xmm0
test ebx, ebx
jl 0x43e7f0
jg 0x43e6e3
test ebp, ebp
je 0x43e7f0
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x43e6f0
push 1
push 0xffff
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x20]
call fcn.0046f370
mov esi, eax
test esi, esi
je 0x43e772
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4aa1d8]
sub eax, dword [0x4aefdc]
cmp eax, dword [ecx + 0xb8]
jbe 0x43e757
push 0
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43e74c
mov edx, 1
or ecx, 0xffffffff
call fcn.00401790
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4aefdc], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x50]
jl 0x43e6f0
jg 0x43e769
cmp edi, ebp
jb 0x43e6f0
mov edi, dword [esp + 0x4c]
jmp 0x43e7f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4aa1d8]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43e7a8
cmp dword [esp + 0x40], 0
jne 0x43e7a8
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push dword [esp + 0x48]
call dword [eax + 0x10]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call dword [eax + 8]
mov eax, dword [0x4aa1d8]
test byte [eax + 0xe0], 1
jne 0x43e7d6
push 1
push 0
push 0xffffffffffffffff
push 0x49e628
jmp 0x43e878
mov ecx, dword [esp + 0x10]
push 0x49bc4d
push 0
push 0x49e628
call fcn.0042c8f0
jmp 0x43e883
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43e81b
cmp dword [esp + 0x40], 0
jne 0x43e81b
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push dword [esp + 0x48]
call dword [eax + 0x10]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call dword [eax + 8]
test esi, esi
je 0x43e84a
cmp byte [esp + esi + 0x7b], 0xa
jne 0x43e837
dec esi
test esi, esi
je 0x43e84a
push 1
push 0
push esi
lea eax, [esp + 0x88]
push eax
jmp 0x43e852
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004744e0
test eax, eax
jne 0x43e861
xor esi, esi
jmp 0x43e885
mov eax, dword [0x4aa1d8]
push 1
push 0
push 0xffffffffffffffff
mov dword [eax + 0x30], 0
push 0x49bca8
mov ecx, dword [0x4ad0c8]
call fcn.004744e0
mov esi, eax
mov dword [esp + 0x14], vtable.TextFile.0
mov dword [esp + 0x10088], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43e8be
cmp dword [esp + 0x40], 0
jne 0x43e8be
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x1c]
call dword [0x4a15d8]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x3c], 0
cmp ecx, 0xffffffff
je 0x43e8eb
mov eax, dword [esp + 0x18]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x43e8e3
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], vtable.TextStream.0
test eax, eax
je 0x43e904
push eax
call fcn.004843d4
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10080]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1007c
ret 8