Function at 0x42d490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45e6cb
push eax
mov eax, 0x12c8
mov dword fs:[0], esp
call fcn.0045b880
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x12e0], edi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x12f8]
push edi
mov byte [esp + 0x12e4], 1
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CSingleLock::CSingleLock
lea ecx, [esp + 0x28]
mov byte [esp + 0x12e0], 2
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x12e0], 3
call esi
mov edx, dword [esp + 0x12ec]
push edi
mov ebp, eax
push 0x42
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebp
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x42d599
lea eax, [esp + 0x14]
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 0x48]
push eax
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov edx, dword [esp + 0x12ec]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push str.__s__Error:_Cant_open_file__s_
push ecx
mov byte [esp + 0x12f0], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x12e0], 3
call sub.MFC42.DLL_CString::CString
push edi
push 0xff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [0x4f20e0]
push eax
push 0x47d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42d8db
lea eax, [esp + 0x4c]
push 0x2c
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Read
cmp eax, 0x2c
je 0x42d626
lea ecx, [esp + 0x14]
push str._Y__m__d__H:_M:_S
lea edx, [esp + 0x48]
push ecx
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov ecx, dword [esp + 0x12ec]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str.__s__Error:_Cant_read_file__s_
push eax
mov byte [esp + 0x12f0], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x12e0], 3
call sub.MFC42.DLL_CString::CString
push edi
push 0xff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [0x4f20e0]
push eax
push 0x47d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42d8d2
mov ecx, dword [esp + 0x74]
mov eax, 0xdee95c4d
mul ecx
mov ebx, edx
mov dword [esp + 0x1c], edi
shr ebx, 0xc
cmp ecx, edi
mov dword [esp + 0x14], edi
jbe 0x42d745
mov dword [esp + 0x18], edi
jmp 0x42d64e
xor edi, edi
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CSingleLock::Lock
test eax, eax
jne 0x42d7d3
lea edx, [esp + 0x78]
push 0x1260
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Read
mov edi, eax
test edi, edi
je 0x42d745
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42d6bc
lea esi, [esp + 0x78]
mov ebp, eax
movsx eax, word [esi]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul qword [esp + 0x12f0]
fadd qword [0x462268]
call sub.MSVCRT.dll__ftol
mov word [esi], ax
add esi, 2
dec ebp
jne 0x42d68c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x20]
mov ecx, edi
push 1
neg ecx
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Seek
lea edx, [esp + 0x78]
push edi
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Write
cmp edi, 0x1260
jl 0x42d745
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
add edx, 0x3e8
add ecx, 0x1260
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, 0x1a
cdq
idiv ecx
test edx, edx
jne 0x42d735
call esi
sub eax, ebp
xor edx, edx
push eax
mov eax, dword [esp + 0x1c]
div ebx
mov edx, dword [esp + 0x12ec]
push eax
push 0x464
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jb 0x42d64c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
call esi
mov edx, dword [esp + 0x12e8]
sub eax, ebp
push eax
push 0x3e8
push 0x464
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x12e0], 2
call fcn.0045b35e
lea ecx, [esp + 0x38]
mov byte [esp + 0x12e0], 1
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x10]
mov byte [esp + 0x12e0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x12ec]
mov dword [esp + 0x12e0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x12d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12d4
ret
push 0x47053c
lea ecx, [esp + 0x1c]
push 0x4f20d0
push ecx
call sub.MFC42.DLL_operator_1
mov ebp, dword [esp + 0x12f8]
mov byte [esp + 0x12e0], 6
mov edx, dword [ebp + 0x48]
add edx, 8
push edx
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator
push str..WAV
lea ecx, [esp + 0x28]
mov bl, 7
push eax
push ecx
mov byte [esp + 0x12ec], bl
call sub.MFC42.DLL_operator_1
mov esi, eax
lea edx, [esp + 0x20]
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x12ec], 8
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push 0xe173
push eax
mov byte [esp + 0x12f0], 9
call sub.MFC42.DLL_CString::Format_1
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x12e0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x12e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12e0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x12e0], 3
call sub.MFC42.DLL_CString::CString
push edi
push 0xff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [0x4f20e0]
push eax
push 0x47d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x4c], 1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x28]
mov byte [esp + 0x12e0], 2
call fcn.0045b35e
lea ecx, [esp + 0x38]
mov byte [esp + 0x12e0], 1
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x10]
mov byte [esp + 0x12e0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x12ec]
mov dword [esp + 0x12e0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x42d7ba