Function at 0x140027fb0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402b7008]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
call fcn.140009260
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char>
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.username
lea rcx, str.Loader_Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400282c0
lea rcx, [rbp - 0x30]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028040
test rax, rax
je 0x1400282c0
lea rcx, [rdi + 0x130]
lea rdx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::SetOrigButtons]
call fcn.140009260
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char>
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.remember_password
lea rcx, str.Loader_Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400282aa
mov r8d, 1
lea rdx, [0x14029d4a4]
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400282aa
call fcn.140009260
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char>
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.password
lea rcx, str.Loader_Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400282aa
lea rcx, [rbp - 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400280f5
test rax, rax
je 0x1400282aa
mov r9d, 0xf
mov qword [rbp - 0x60], r9
xor r14d, r14d
mov eax, r14d
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x78], al
cmp word [rbp - 0x30], r14w
je 0x1400281c5
mov ebx, r14d
lea rcx, [rbp - 0x30]
movzx esi, byte [rcx]
cmp rax, r9
jne 0x140028179
lea rcx, [rax + 1]
cmp rcx, 0xfffffffffffffffe
ja 0x1400281b7
cmp r9, rcx
jae 0x140028159
mov r8, rax
mov rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.140009cb0
jmp 0x140028171
test rcx, rcx
jne 0x140028179
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x78]
cmp r9, 0x10
cmovae rax, qword [rbp - 0x78]
mov byte [rax], cl
mov rax, qword [rbp - 0x68]
mov r9, qword [rbp - 0x60]
lea rcx, [rbp - 0x78]
cmp r9, 0x10
cmovae rcx, qword [rbp - 0x78]
mov byte [rax + rcx], sil
mov rax, qword [rbp - 0x68]
inc rax
mov qword [rbp - 0x68], rax
mov byte [rax + rcx], 0
inc rbx
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rbx*2]
cmp word [rcx], 0
je 0x1400281c5
mov r9, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
jmp 0x140028131
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
jmp 0x1401afd33
lea rcx, [rdi + 0x218]
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov rcx, qword [rdi + 0x258]
jmp 0x1400282d4
lea rcx, [rdi + 0x130]
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov rcx, qword [rdi + 0x170]
mov r8d, 1
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140281dc0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
pushfq
push 0x77eb97d0
push r12
pop qword [rsp]
push r12
sub qword [rsp], 0x63ef0568
pop r12
add r12, 0x63ef0568
mov qword [rsp], 0x10
sub rsp, 8
sub rsp, 8
mov qword [rsp], r8
pop qword [rsp]
push rdi
mov rdi, r8
mov r8, rdi
pop rdi
mov qword [rsp], 0x1f034c
sub rsp, 8
push rbx
push r11
mov r11, rax
push rbp
mov rbp, r11
mov rbx, rbp
pop rbp
mov r11, qword [rsp]
add rsp, 8
mov qword [rsp + 8], rbx
pop rbx
sub rsp, 8
mov qword [rsp], r12
mov r12, rsp
add r12, 8
sub r12, 8
xor r12, qword [rsp]
xor qword [rsp], r12
xor r12, qword [rsp]
pop rsp
push rbx
pop qword [rsp]
push qword [rsp + 0x20]
push qword [rsp]
push qword [rsp]
pop rax
add rsp, 8
add rsp, 8
push qword [rsp + 0x10]
push qword [rsp]
push qword [rsp]
pop rbx
add rsp, 8
add rsp, 8
sub rsp, 8
sub rsp, 8
push rax
pop qword [rsp]
pop qword [rsp]
pop qword [rsp + 0x10]
push 0x7fbe20ed
mov qword [rsp], r9
push r14
mov r14, rbx
mov r9, r14
pop r14
push r9
pop qword [rsp + 0x28]
mov r9, qword [rsp]
add rsp, 8
push qword [rsp]
push qword [rsp]
pop rbx
add rsp, 8
push rdx
mov rdx, rsp
add rdx, 8
add rdx, 8
xchg qword [rsp], rdx
pop rsp
push qword [rsp]
mov rax, qword [rsp]
push rsi
mov rsi, rsp
add rsi, 8
add rsi, 8
xchg qword [rsp], rsi
pop rsp
add rsp, 8
push 0x5cff50d9
mov qword [rsp], r9
push r11
mov r11, r9
mov r9, r11
pop r11
sub rsp, 8
mov qword [rsp], r11
movabs r11, 0x281cb
mov qword [rsp + 8], r11
pop r11
jmp 0x1400e5e24