Function at 0x415a60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x432c65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x20]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x298], ebx
call esi
mov ecx, dword [ebp + 0x20]
push 2
push ecx
call esi
mov edx, dword [esp + 0x298]
push 0x43900c
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x415b03
mov ecx, 0xf49d18
xor eax, eax
mov edi, 0x451888
mov dword [0x7ea5d48], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x298]
lea ecx, [ebp + 0x1bc]
push eax
call sub.MFC42u.DLL_CString::operator
push ebx
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::UpdateData
mov ecx, ebp
mov dword [ebp + 0x49c], ebx
call fcn.00414170
mov ecx, ebp
call fcn.00417cf0
jmp 0x415ed8
push 2
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push esi
mov dword [esp + 0x2c], edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 0x20
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x415b58
push eax
push 0x435360
push 0x439000
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MessageBoxW
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x415ed8
push esi
push edi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
push ebx
call fcn.00425ee0
add esp, 0x1c
test eax, eax
je 0x415d18
push 0
lea ecx, [esp + 0x24]
call fcn.0041f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 1
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 1
jne 0x415cbd
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x89]
mov edx, dword [esp + 0x84]
mov byte [esp + 0x88], 0
push 0
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x90]
push 0x200
push ecx
stosw word es:[edi], ax
push 0xffffffffffffffff
push edx
push 0
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x88]
push eax
push ecx
push ebx
call fcn.00425c20
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jle 0x415c72
lea edi, [esp + 0x88]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x4a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0x290], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x290], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0
call fcn.0042ebf2
mov edi, dword [esp + 0x10]
jmp 0x415d1c
push 0
push 0
push 0x436148
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MessageBoxW
mov al, byte [ebp + 0x4b0]
test al, al
je 0x415c95
push 1
mov ecx, ebp
call sub.MFC42u.DLL_CDialog::EndDialog
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x290], 3
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x290], 2
jmp 0x415cf6
mov al, byte [ebp + 0x4b0]
test al, al
je 0x415cd0
push 1
mov ecx, ebp
call sub.MFC42u.DLL_CDialog::EndDialog
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x290], 5
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x290], 4
lea ecx, [esp + 0x80]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0
call fcn.0042ebf2
jmp 0x415ed8
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.00420a00
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x415d7f
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, 0xf49d18
xor eax, eax
mov edi, 0x451888
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x298]
xor esi, esi
push eax
lea ecx, [ebp + 0x1bc]
mov dword [0x7ea5d48], esi
call sub.MFC42u.DLL_CString::operator
push esi
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::UpdateData
mov ecx, ebp
mov dword [ebp + 0x49c], esi
call fcn.00414170
jmp 0x415ed8
cmp eax, 0x59d8
jl 0x415da8
push 0
push 0x435360
push 0x438ff4
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MessageBoxW
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x415ed8
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
lea edi, [eax*4]
push edi
call ebx
push edi
mov esi, eax
call ebx
add esp, 8
mov ebx, eax
test esi, esi
je 0x415ea1
test ebx, ebx
je 0x415ea1
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov edi, ebx
lea ecx, [eax*4]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00415f10
mov edx, dword [esp + 0x28]
mov ecx, 0xf49d18
xor eax, eax
mov edi, 0x451888
push edx
mov dword [0x7ea5d48], eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ebx
push esi
push 0x451888
push eax
push ecx
call fcn.00415f80
mov edx, dword [esp + 0x44]
mov edi, dword [sym.imp.MSVCRT.dll_free]
push edx
call edi
push esi
call edi
push ebx
call edi
add esp, 0x34
lea eax, [esp + 0x298]
lea ecx, [ebp + 0x1bc]
push eax
call sub.MFC42u.DLL_CString::operator
push 0
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::UpdateData
mov ecx, ebp
mov dword [ebp + 0x49c], 0
call fcn.00414170
push 0x3f6
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::SetFocus
mov ecx, ebp
call fcn.00417cf0
jmp 0x415ed8
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.MSVCRT.dll_free]
push ecx
call edi
add esp, 4
test esi, esi
je 0x415ebb
push esi
call edi
add esp, 4
test ebx, ebx
je 0x415ec5
push ebx
call edi
add esp, 4
push 0
push 0x435360
push 0x439000
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MessageBoxW
lea ecx, [esp + 0x298]
mov dword [esp + 0x290], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x288]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret 4