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

Disassembly:
push 0xffffffffffffffff
push 0x48f74b
mov eax, dword fs:[0]
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.0048b740
mov eax, dword [0x4a2b90]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
mov eax, esi
call fcn.0040c820
test al, al
je 0x43d949
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.00480e2f
add esp, 0xc
jmp 0x43d954
push esi
call fcn.00480671
add esp, 4
xor ebx, ebx
mov ebp, edx
mov dword [esp + 0x4c], eax
cmp ebp, ebx
jg 0x43d9b0
jl 0x43d965
cmp eax, 1
jae 0x43d9b0
mov eax, dword [0x49f440]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0xe4], bl
jne 0x43d994
mov ecx, dword [0x4a33f4]
push 1
push ebx
push 0xffffffffffffffff
push 0x493ec0
push ecx
call fcn.0046f1f0
jmp 0x43dc95
mov ecx, dword [esp + 0x10088]
push 0x49281e
push ebx
push 0x493ec0
call fcn.0042ca10
jmp 0x43dc95
mov eax, dword [0x4a545c]
or edi, 0xffffffff
mov dword [esp + 0x18], vtable.TextStream.0
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 0x43d9f0
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43d9f0
mov byte [esp + 0x2e], bl
mov dword [esp + 0x18], vtable.TextFile.0
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x1008c]
mov dword [esp + 0x10080], ebx
mov eax, dword [0x49f440]
mov esi, dword [eax + 0xd8]
push 0x30c
push ecx
lea ecx, [esp + 0x20]
and esi, 0x7fffffff
mov dword [esp + 0x28], ebx
call dword [0x496ac8]
test al, al
je 0x43da49
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x18]
call fcn.0046a320
xor ebx, ebx
test al, al
jne 0x43daa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49f440]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0xe4], bl
jne 0x43da81
mov edx, dword [0x4a33f4]
push 1
push ebx
push edi
push 0x493ec0
push edx
call fcn.0046f1f0
mov dword [esp + 0x10080], edi
jmp 0x43dc88
mov ecx, dword [esp + 0x10088]
push 0x49281e
push ebx
push 0x493ec0
call fcn.0042ca10
mov dword [esp + 0x10080], edi
jmp 0x43dc88
xor edi, edi
test ebp, ebp
jl 0x43dbcc
jg 0x43dac0
cmp dword [esp + 0x4c], ebx
jbe 0x43dbcc
lea ebx, [ebx]
push 1
push 0xffff
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0046a450
mov esi, eax
test esi, esi
je 0x43db3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a5234]
mov edx, dword [0x49f440]
cmp eax, dword [edx + 0xb4]
jbe 0x43db24
push 0
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43db19
push 1
push 0xffffffffffffffff
call fcn.00401280
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5234], eax
add ebx, 1
adc edi, 0
cmp edi, ebp
jl 0x43dac0
jg 0x43dbd0
cmp ebx, dword [esp + 0x4c]
jb 0x43dac0
jmp 0x43dbd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49f440]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43db78
cmp dword [esp + 0x40], 0
jne 0x43db78
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x20]
call edx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call edx
mov eax, dword [0x49f440]
cmp byte [eax + 0xe4], 0
jne 0x43dbaf
mov ecx, dword [0x4a33f4]
push 1
push 0
push 0xffffffffffffffff
push 0x493ec0
push ecx
jmp 0x43dc78
mov ecx, dword [esp + 0x10088]
push 0x49281e
push 0
push 0x493ec0
call fcn.0042ca10
jmp 0x43dc7d
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43dbfa
cmp dword [esp + 0x40], 0
jne 0x43dbfa
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x20]
call edx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call edx
test esi, esi
je 0x43dc1c
cmp byte [esp + esi + 0x73], 0xa
jne 0x43dc18
dec esi
test esi, esi
jne 0x43dc41
mov ecx, dword [esp + 0x14]
call fcn.00412530
test eax, eax
jne 0x43dc5a
lea ecx, [esp + 0x18]
mov dword [esp + 0x10080], 0xffffffff
call fcn.004143a0
xor eax, eax
jmp 0x43dc95
mov ecx, dword [esp + 0x14]
push 1
push 0
push esi
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.0046f1f0
jmp 0x43dc25
mov edx, dword [0x49f440]
mov eax, dword [0x4a33f4]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
mov dword [edx + 0x30], 0
push eax
call fcn.0046f1f0
mov dword [esp + 0x10080], 0xffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004143a0
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