Function at 0x140025910
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3f0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov rbp, rcx
mov ecx, 0x20000
call sub.mfc90u.dll_new__
mov r14, rax
lea rcx, [rsp + 0x30]
call qword [0x14008a728]
nop
lea rcx, [rsp + 0x80]
call qword [0x14008a728]
nop
lea r15, [rbp + 0x330]
xor edx, edx
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, r14
xor r8d, r8d
xor edx, edx
lea rcx, str.bmpbuttons
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140025d39
mov r12, r14
test r14, r14
je 0x140025d39
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140025d39
xor edx, edx
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x190
lea r9, [rsp + 0xc0]
lea r8, [0x14008ac98]
mov rdx, r12
lea rcx, str.bmpbuttons
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140025d1f
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rbp
call fcn.1400286e0
mov rbx, rax
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x50], ecx
mov r8d, dword [rsp + 0x6c]
mov dword [rsp + 0x54], r8d
mov edx, dword [rsp + 0x4c]
add r8d, edx
mov dword [rsp + 0x5c], r8d
mov r8d, dword [rsp + 0x48]
add r8d, ecx
mov dword [rsp + 0x58], r8d
test rax, rax
jne 0x140025a66
mov rdi, r13
jmp 0x140025ab8
lea rdx, [0x140092d90]
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_wcsstr]
mov rdi, rax
test rax, rax
je 0x140025a86
mov word [rax], r13w
add rdi, 2
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CTreeCtrl::CTreeCtrl]
lea rdx, [0x140092e90]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDialogTemplate::SetFont]
lea rdx, [0x140092e90]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CPropertySet::SetFormatVersion]
mov ecx, 0x1f8
call sub.mfc90u.dll_CSplitterWnd::CSplitterWnd
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140025ad9
mov rcx, rax
call fcn.14002d470
mov rsi, rax
jmp 0x140025adc
mov rsi, r13
mov rdx, r12
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::InitFromData]
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
mov rcx, qword [rsi + 0xc8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [0x14008ac98]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
mov dword [rsp + 0x70], r13d
mov rdx, r12
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea r9, [rsp + 0x70]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.14002a930
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov r11, qword [rsp + 0x30]
cmp dword [r11 - 0x10], 0
je 0x140025ba3
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
lea r8, [rsi + 0xa8]
mov rcx, rbp
call fcn.14002a080
cmp qword [rsi + 0xc0], 0
je 0x140025bc1
mov rcx, qword [rsi + 0xc0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov r11d, eax
xor ebx, ebx
jmp 0x140025bc6
xor ebx, ebx
mov r11d, ebx
mov rax, qword [rsi]
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x50]
mov r8d, 0x5001000b
lea rdx, [0x14008ac98]
mov rcx, rsi
call qword [rax + 0x288]
movaps xmm5, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xa0], xmm5
lea rax, [rbp + 0x210]
lea r9, [rbp + 0x1f0]
lea r8, [rbp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002e260
test rbp, rbp
je 0x140025c40
lea rax, [rbp + 0xe8]
jmp 0x140025c43
mov rax, rbx
mov qword [rsi + 0xc0], rax
lea rcx, [rsp + 0x38]
call qword [0x14008a728]
nop
xor r15d, r15d
nop dword [rax]
test rdi, rdi
je 0x140025cda
lea rdx, [0x140092d90]
mov rcx, rdi
call qword [sym.imp.MSVCR90.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x140025c85
mov word [rax], r15w
add rbx, 2
mov rdx, rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CTreeCtrl::CTreeCtrl]
lea rdx, [0x140092e90]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDialogTemplate::SetFont]
lea rdx, [0x140092e90]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CPropertySet::SetFormatVersion]
mov rdi, rbx
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], r15d
je 0x140025cd5
mov r8, rsi
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.140027490
test rbx, rbx
jne 0x140025c60
mov rdx, r12
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea r8, [rsi + 0xa8]
mov rdx, rax
mov rcx, rbp
call fcn.140028560
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea r15, [rbp + 0x330]
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea r12, [r12 + rax*2]
test r12, r12
jne 0x1400259c3
mov rcx, r14
call sub.mfc90u.dll_delete__
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140077470
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret