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

Disassembly:
push 0xffffffffffffffff
push 0x4ccafb
mov eax, dword fs:[0]
push eax
mov eax, 0x10068
mov dword fs:[0], esp
call fcn.004c6f60
mov eax, dword [0x4f0b10]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, esi
call fcn.0040dd50
test al, al
je 0x43f75f
push 0x10
xor edi, edi
push edi
push esi
call fcn.004bc27b
mov esi, eax
add esp, 0xc
mov dword [esp + 0x4c], esi
jmp 0x43f770
push esi
call fcn.004bb6c1
add esp, 4
mov dword [esp + 0x4c], eax
xor edi, edi
mov esi, eax
mov ebx, edx
cmp ebx, edi
jg 0x43f7c9
jl 0x43f77d
cmp esi, 1
jae 0x43f7c9
mov eax, dword [0x4ec48c]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x43f7ad
mov ecx, dword [0x4f13d8]
push 1
push edi
push 0xffffffffffffffff
push 0x4d9220
push ecx
call fcn.004a5c20
jmp 0x43fa7a
mov ecx, dword [esp + 0x10088]
push 0x4d6959
push edi
push 0x4d9220
call fcn.0042d070
jmp 0x43fa7a
mov eax, dword [0x4f3de8]
or ebp, 0xffffffff
mov dword [esp + 0x14], vtable.TextStream.0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
cmp eax, ebp
je 0x43f80d
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x43f80d
mov byte [esp + 0x2e], al
mov dword [esp + 0x14], vtable.TextFile.0
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x1008c]
mov dword [esp + 0x10080], edi
mov eax, dword [0x4ec48c]
mov eax, dword [eax + 0xdc]
and eax, 0x7fffffff
push 0x30c
lea ecx, [esp + 0x18]
call fcn.0049c780
test al, al
jne 0x43f892
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ec48c]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x43f876
mov ecx, dword [0x4f13d8]
push 1
push edi
push ebp
push 0x4d9220
push ecx
jmp 0x43fa5d
mov ecx, dword [esp + 0x10088]
push 0x4d6959
push edi
push 0x4d9220
call fcn.0042d070
jmp 0x43fa62
xor ebp, ebp
test ebx, ebx
jl 0x43f9b1
jg 0x43f8a6
test esi, esi
je 0x43f9b1
push 1
push 0xffff
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x20]
call fcn.0049c8e0
mov esi, eax
test esi, esi
je 0x43f924
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4f2304]
mov ecx, dword [0x4ec48c]
cmp eax, dword [ecx + 0xb8]
jbe 0x43f909
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 0x43f8fe
push 1
push 0xffffffffffffffff
call fcn.00401910
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f2304], eax
add ebp, 1
adc edi, 0
cmp edi, ebx
jl 0x43f8a6
jg 0x43f9b5
cmp ebp, dword [esp + 0x4c]
jb 0x43f8a6
jmp 0x43f9b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ec48c]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f95d
cmp dword [esp + 0x40], 0
jne 0x43f95d
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 [0x4ec48c]
test byte [eax + 0xe0], 1
jne 0x43f994
mov ecx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push ecx
jmp 0x43fa5d
mov ecx, dword [esp + 0x10088]
push 0x4d6959
push 0
push 0x4d9220
call fcn.0042d070
jmp 0x43fa62
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43f9df
cmp dword [esp + 0x40], 0
jne 0x43f9df
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 0x43fa01
cmp byte [esp + esi + 0x73], 0xa
jne 0x43f9fd
dec esi
test esi, esi
jne 0x43fa26
mov ecx, dword [esp + 0x10]
call fcn.0041a480
test eax, eax
jne 0x43fa3f
lea ecx, [esp + 0x14]
mov dword [esp + 0x10080], 0xffffffff
call fcn.0041bc00
xor eax, eax
jmp 0x43fa7a
mov ecx, dword [esp + 0x10]
push 1
push 0
push esi
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.004a5c20
jmp 0x43fa0a
mov edx, dword [0x4ec48c]
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d69c8
mov dword [edx + 0x30], 0
push eax
call fcn.004a5c20
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x10080], 0xffffffff
call fcn.0041bc00
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