Function at 0x1400210a0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x668]
sub rsp, 0x740
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402b8008]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov rsi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
mov r9, qword [rsi + 0x190]
mov edi, 1
mov r8d, edi
lea edx, [rdi + 0x7f]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsi + 0x190]
xor r8d, r8d
lea edx, [rdi + 0x7f]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov r8d, operator
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp - 0x60], 7
xor r12d, r12d
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
cmp word [rbp], r12w
jne 0x14002115e
mov r8d, r12d
jmp 0x140021170
lea rax, [rbp]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140021166
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.1400039c0
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400211f7
lea rax, [rbp - 0x78]
mov r8, qword [rbp - 0x78]
mov r10, qword [rbp - 0x60]
cmp r10, 8
cmovae rax, r8
lea r9, [rcx - 1]
lea r9, [rax + r9*2]
nop dword [rax]
nop word [rax + rax]
mov ecx, 2
lea rax, [0x14029e4bc]
movzx edx, word [r9]
cmp word [rax], dx
je 0x1400211e3
add rax, 2
sub rcx, 1
jne 0x1400211c0
lea rcx, [rbp - 0x78]
call fcn.140003900
cmp r9, rax
je 0x1400211f7
sub r9, 2
jmp 0x1400211b0
lea rax, [rbp - 0x78]
cmp r10, 8
cmovae rax, r8
sub r9, rax
sar r9, 1
jmp 0x1400211fb
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140023c30
nop
lea r8, str.Profiles
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140023ce0
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14002125f
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x140021241
inc r8
mov rdx, qword [rbp - 0x78]
call fcn.140003c30
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140004020
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x140021275
inc r8
mov rdx, qword [rbp - 0x58]
call fcn.140003c30
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14002129c
inc r8
mov rdx, qword [rbp - 0x38]
call fcn.140003c30
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r12
mov word [rbp - 0x38], r12w
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rcx, [rsi + 0x188]
mov rdx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x58]
call fcn.140003dc0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rbx, [rsi + 0x170]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14002dbe0
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x140021343
inc r8
mov rdx, qword [rsp + 0x58]
call fcn.140003c30
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov r15d, r12d
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
movabs r13, 0x5397829cbc14e5e1
mov rax, r13
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14002142d
mov rdi, r12
nop dword [rax + rax]
mov rdx, qword [rbx]
add rdx, 8
add rdx, rdi
cmp qword [rdx + 0x18], 8
jb 0x1400213a4
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov r9, qword [rax]
xor r8d, r8d
mov edx, 0x180
mov rcx, qword [rsi + 0x1d8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp r14d, 0xffffffff
je 0x1400213f7
mov rcx, qword [rbx]
mov r9d, dword [rdi + rcx]
movsxd r8, r14d
mov edx, 0x19a
mov rcx, qword [rsi + 0x1d8]
call qword [sym.imp.USER32.dll_SendMessageW]
inc r15d
add rdi, 0x310
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, r13
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x140021390
mov edi, 1
lea rcx, [rsi + 0x450]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rcx, [rsi + 0x368]
lea rdx, [0x14029e4a8]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
mov qword [0x1402c0ce0], rsi
xor r9d, r9d
lea edx, [r9 + 0xa]
lea r8d, [r9 + 0x32]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, [rsi + 0x280]
movzx r8d, di
mov edx, 0x40
call qword [sym.imp.mfc140u.dll_CMFCFilterChunkValueImpl::SetDwordValue]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x103
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], operator
lea rax, [rbp + 0x420]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
mov edx, 0x2e
lea rcx, [rbp + 0x420]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x140021516
lea rdx, str..exe
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140021516
mov word [rbx], r12w
lea rdx, [rbp + 0x420]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
call fcn.140009260
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x13
lea r9, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.global_inputs
lea rcx, str.Loader_Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140021587
mov r8, rdi
lea rdx, [0x14029e584]
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140021587
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [rsi + 0x578]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.140009260
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x13
lea r9, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.autobot
lea rcx, str.Loader_Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400215e8
mov r8, rdi
lea rdx, [0x14029e584]
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400215e8
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [rsi + 0x878]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1402c15cc], 0
jne 0x140021618
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, qword [rsi + 0x878]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsi + 0x838]
xor edx, edx
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rsi + 0x578]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne byte [0x1402c091b]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rsi + 0x878]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne byte [0x1402c091a]
mov rax, qword [rsi + 0x718]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsi + 0x718]
call qword [rax + 0x2d8]
test eax, eax
je 0x14002169c
lea rdx, [rsi + 0x538]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, str.Enables_global_system_inputs._Right_Click_for_more_info.
lea rcx, [rsi + 0x718]
call qword [sym.imp.mfc140u.dll_Ordinal_2006]
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x1400216b2
inc r8
mov rdx, qword [rbp - 0x78]
call fcn.140003c30
mov eax, edi
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.140282af0
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret