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

Disassembly:
push 0xffffffffffffffff
push 0x414768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x27c], ebx
call fcn.00413cc6
mov eax, dword [esp + 0x284]
push ebx
push ebx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4027c7
push ebx
push ebx
push str.Open_file_fail_
call sub.MFC42.DLL_AfxMessageBox
jmp 0x402dc3
push 2
push 0xfffffffffffffffc
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CFile::Seek
lea ecx, [esp + 0x38]
push 4
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
mov edx, dword [esp + 0x38]
push ebx
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Seek
lea eax, [esp + 0x6c]
push 0xa
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
push 4
lea ecx, [esp + 0x70]
push str.yumi
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x402cff
cmp byte [esp + 0x70], 0x31
jg 0x402cff
push 0xffffffffffffffff
mov ecx, 0x41b608
call fcn.00404790
lea edx, [esp + 0x3e]
push 2
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x3c]
push 2
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x32]
push 2
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
lea edx, [esp + 0x32]
push 2
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x20]
mov ecx, 0x41b608
push eax
call fcn.00404990
mov edi, dword [0x41b5ec]
cmp edi, ebx
je 0x4028a9
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4028a5
mov edx, dword [ecx]
push 1
call dword [edx]
cmp edi, ebx
jne 0x402894
mov eax, dword [0x41b5ec]
cmp eax, ebx
je 0x4028b8
mov eax, dword [eax]
cmp eax, ebx
jne 0x4028b2
mov ecx, dword [0x41b5fc]
mov dword [0x41b5f4], ebx
mov dword [0x41b5f8], ebx
mov dword [0x41b5f0], ebx
mov dword [0x41b5ec], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea eax, [esi + 0x6c]
push 2
push eax
lea ecx, [esp + 0x28]
mov dword [0x41b5fc], ebx
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x6e]
push 2
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x1e]
push 2
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
cmp word [esp + 0x1e], bx
mov dword [esp + 0x14], ebx
jle 0x402a34
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
mov byte [esp + 0x27c], 5
je 0x402972
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0xc], 0x4168a4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi], 0x4168a0
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov dword [esi + 0x28], ebx
jmp 0x402974
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 1
push ecx
mov ecx, esi
call fcn.00405ee0
mov edi, dword [0x41b5f8]
mov ebp, dword [0x41b5f0]
cmp edi, ebx
jne 0x4029d4
mov edx, dword [0x41b600]
push 0xc
push edx
push 0x41b5fc
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [0x41b600]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 8]
jl 0x402a08
mov edi, dword [0x41b5f8]
inc ecx
mov dword [eax], edi
mov edi, eax
sub eax, 0xc
dec ecx
jne 0x4029c4
mov dword [0x41b5f8], edi
mov eax, dword [edi]
push 1
mov dword [0x41b5f8], eax
mov dword [edi + 4], ebp
mov dword [edi], ebx
mov ecx, dword [0x41b5f4]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [0x41b5f4], ecx
call fcn.00403bb0
mov dword [ebp], esi
mov eax, dword [0x41b5f0]
cmp eax, ebx
je 0x402a10
mov dword [eax], edi
jmp 0x402a16
mov edi, dword [0x41b5f8]
jmp 0x4029d4
mov dword [0x41b5ec], edi
mov eax, dword [esp + 0x14]
mov dword [0x41b5f0], edi
inc eax
cmp ax, word [esp + 0x1e]
mov dword [esp + 0x14], eax
jl 0x40291e
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CFile::Read
cmp dword [esp + 0x18], ebx
je 0x402b01
push str.EffectMusic.mp3
lea edx, [esp + 0x14]
push 0x41b910
push edx
call sub.MFC42.DLL_operator
lea edi, [esi + 0x78]
push eax
mov ecx, edi
mov byte [esp + 0x280], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
call fcn.00413cc6
mov edi, dword [edi]
push ebx
push 0x1001
push edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x288], 7
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x402af0
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
push ecx
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Read
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push edx
push edi
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::Close
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x27c], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Close
push ebx
mov ecx, 0x41b608
call fcn.00404940
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x5c]
push eax
push ecx
mov dword [esi + 0x60], 0x3f800000
call dword [sym.imp.USER32.dll_GetClientRect]
movsx edx, word [esi + 0x6c]
mov eax, dword [esp + 0x64]
push 1
sub eax, edx
mov edx, dword [esp + 0x60]
sub eax, edx
push ebx
movsx ecx, word [esi + 0x6e]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
fild dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esi + 0x74]
sub eax, edx
push 0x419
fstp dword [esi + 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esi + 0x68]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov dword [0x41b928], ebx
mov dword [esp + 0x10], eax
mov dword [esi + 0x70], ebx
mov eax, dword [0x41b60c]
xor ecx, ecx
cmp eax, ebx
jle 0x402bbe
xor eax, eax
mov dword [eax*4 + 0x41b6d4], ebx
mov edx, dword [eax*4 + 0x41b614]
mov eax, dword [edx + 8]
mov edx, dword [esi + 0x70]
cmp eax, edx
jle 0x402bb0
mov dword [esi + 0x70], eax
mov edx, dword [0x41b60c]
inc ecx
movsx eax, cx
cmp eax, edx
jl 0x402b95
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
push ebx
push eax
push 1
add ecx, 0x160
call sub.MFC42.DLL_CSliderCtrl::SetRange
mov ecx, dword [esi + 0x74]
mov dword [ecx + 0xfc], 1
mov al, byte [0x41b906]
cmp al, 1
jle 0x402bf0
push str.Stop
jmp 0x402bf5
push 0x41a090
mov ecx, dword [esi + 0x74]
push 0x456
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov edx, dword [esi + 0x78]
lea edi, [esi + 0x78]
cmp dword [edx - 8], ebx
je 0x402cb6
push ebx
push 1
push 1
push ebx
push ebx
lea ecx, [esp + 0x54]
call fcn.00402e10
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x74]
add ecx, 0x100
call fcn.004133c0
cmp eax, ebx
jne 0x402c6d
push 0x41b5b0
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
jmp 0x402cb6
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [esp + 0x14], 0xa
push 0x14
call edi
push 1
push ebx
push ebx
lea edx, [esp + 0x4c]
push ebx
push edx
call ebp
test eax, eax
je 0x402cab
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x402c81
mov eax, 0x3e8
push ebx
cdq
idiv dword [esp + 0x14]
mov edx, dword [esi + 0x20]
push eax
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x284]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x402dec
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Close
push ebx
push str..exe.exe
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CFileDialog::CFileDialog
lea ecx, [esp + 0x78]
mov byte [esp + 0x27c], 2
call sub.MFC42.DLL_CFileDialog::DoModal
test eax, eax
je 0x402d9e
push ecx
lea ecx, [esp + 0x7c]
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CFileDialog::GetPathName
mov ecx, esi
call fcn.00402760
mov esi, eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x27c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x27c], 1
call fcn.00413bdc
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x284]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x402dec
lea ecx, [esp + 0x128]
mov byte [esp + 0x27c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x27c], 1
call fcn.00413bdc
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x284]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x270
ret 4