Function at 0x429900
Capabilities:
Check for time delay via gettickcount
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43e4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
xor edi, edi
mov dword [esp + 0x30], eax
push 0x1000
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0x54]
add ebx, 0x54
push 0x1000
push ebp
mov ecx, ebx
mov dword [esp + 0x2c], eax
call dword [edx + 0x3c]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x429acf
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
jne 0x4299e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x429b9b
mov ecx, dword [esp + 0x3c]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x429b9b
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 6
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x429a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x429b97
mov edx, dword [esp + 0x3c]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x429b97
mov ecx, 3
mov edi, 0x449808
mov esi, ebp
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x429bcc
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
lea eax, [eax + eax*4]
mov ecx, ebx
lea esi, [eax + eax*4]
mov eax, dword [ebx]
shl esi, 2
call dword [eax + 0x38]
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
lea edx, [esp + 0x18]
push eax
push 0x4498cc
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0x14]
mov edx, dword [ebx]
lea eax, [eax + eax*4]
mov ecx, ebx
lea esi, [eax + eax*4]
shl esi, 2
call dword [edx + 0x38]
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x168]
push edx
push 0x472
mov eax, dword [eax + 0x40]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebx]
push 0x1000
push ebp
mov ecx, ebx
call dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42998c
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x54]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
fild qword [esp + 0x1c]
mov dword [esp + 0x28], edi
sub esp, 8
lea ecx, [esp + 0x20]
fisub dword [esp + 0x2c]
fmul dword [0x441818]
fstp qword [esp]
push 0x4498bc
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x4c]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 6
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x429b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x429b97
mov eax, dword [esp + 0x3c]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x429b97
mov ecx, 3
mov edi, 0x449808
mov esi, ebp
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x429b8f
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [ebp + 5]
push eax
push 0x449894
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [ebp + 5]
push eax
push 0x449894
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x429b97