Function at 0x140071cf0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x20d0
call fcn.1400f9a20
sub rsp, rax
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x20c0], rax
mov r15d, ecx
mov rcx, qword [0x1401fbb00]
mov edi, r8d
mov ebx, edx
call qword [sym.imp.USER32.dll_GetMenu]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSubMenu]
mov edx, 2
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSubMenu]
mov r14, rax
test rax, rax
je 0x1400720bf
cmp dword [0x1401f7148], 0
je 0x140072079
cmp ebx, 1
je 0x140072079
mov ecx, dword [0x1401fbf50]
test ecx, ecx
jne 0x140071d88
cmp r15d, 1
je 0x1400720bf
xor ebx, ebx
mov qword [rsp + 0x20f0], rbp
lea r12, [0x140208860]
cmp edi, 1
jne 0x140071da6
mov dword [0x1401fbf50], ebx
jmp 0x140071daa
test ecx, ecx
jne 0x140071e23
mov esi, ebx
lea rbp, [rsp + 0x240]
mov edi, 0x208
nop dword [rax]
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.1400f9ab0
lea rdx, str.File_d
lea rcx, [rsp + 0x30]
mov r8d, esi
call fcn.1400f98c8
lea r8, [0x140181e34]
lea rdx, [rsp + 0x30]
lea rcx, str.RecentF
mov r9, rbp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc esi
add rbp, rdi
cmp esi, 0xf
jl 0x140071dc0
mov dword [0x1401fbf50], 1
jmp 0x140071f0f
mov ebp, ebx
mov esi, ebx
mov edi, 0x208
nop dword [rax]
movsxd rax, esi
mov r8, rdi
xor edx, edx
imul rcx, rax, 0x208
lea rax, [rsp + 0x240]
add rcx, rax
call fcn.1400f9ab0
lea edx, [rsi + 0x4ae7]
lea r8, [rsp + 0x30]
mov r9d, 0x103
mov rcx, r14
mov word [rsp + 0x30], bx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_GetMenuStringW]
test eax, eax
je 0x140071f04
lea rcx, [rsp + 0x30]
mov edx, 9
call fcn.1400f9cdc
test rax, rax
je 0x140071ea8
lea rcx, [rsp + 0x30]
sub rax, rcx
mov ecx, ebx
sar rax, 1
test eax, eax
cmovg ecx, eax
movsxd rax, ecx
mov word [rsp + rax*2 + 0x30], bx
lea r9, [0x140181e34]
lea r8, [0x140188c7c]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400ef7a0
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], bx
jne 0x140071ed0
test eax, eax
je 0x140071f04
movsxd rax, ebp
lea rdx, [rsp + 0x240]
mov r8d, 0x104
imul rcx, rax, 0x208
add rcx, rdx
lea rdx, [rsp + 0x30]
call fcn.1400fb86c
inc ebp
inc esi
cmp esi, 0xf
jl 0x140071e30
mov rbp, qword [rsp + 0x20f0]
test r15d, r15d
jne 0x14007202f
cmp word [0x140209940], 0
je 0x140071f53
movsxd rax, ebx
lea rdx, [0x140209940]
imul rcx, rax, 0x208
lea rax, [rsp + 0x240]
add rcx, rax
call fcn.1400f92fc
test eax, eax
je 0x140071fcb
inc ebx
cmp ebx, 0xf
jl 0x140071f20
cmp dword [0x1401f7120], 0xffffffff
je 0x140071fb3
lea rdx, [rsp + 0x1ca8]
mov r8d, InitCommonControls
mov rax, rdx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rax]
lea rax, [rax + 2]
mov word [rdi + rax - 2], cx
test cx, cx
jne 0x140071f80
sub rdx, rdi
dec r8
jne 0x140071f71
lea rdx, [0x140209940]
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.1400fb86c
lea rdx, [rsp + 0x240]
xor r8d, r8d
mov rcx, r14
call fcn.1400720f0
jmp 0x1400720bf
cmp ebx, 1
jl 0x140071f99
lea eax, [rbx - 1]
lea r10, [rsp + 0x240]
mov r11d, ebx
movsxd rcx, eax
imul rax, rcx, 0x208
add r10, rax
movsxd rax, ebx
sub rax, rcx
imul r9, rax, 0x208
nop dword [rax + rax]
mov rcx, r10
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [r9 + rcx - 2], ax
test ax, ax
jne 0x140072010
sub r10, rdi
dec r11
jne 0x140072000
jmp 0x140071f99
cmp r15d, 1
jne 0x1400720bf
lea rsi, [rsp + 0x240]
lea rdx, str.File_d
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.1400f98c8
lea rdx, [rsp + 0x30]
lea rcx, str.RecentF
mov r9, r12
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc ebx
add rsi, rdi
cmp ebx, 0xf
jl 0x140072041
jmp 0x1400720bf
mov ecx, 0x1b5
call fcn.140070000
test eax, eax
je 0x1400720bf
xor ebx, ebx
nop dword [rax]
xor edx, edx
mov r8d, 0x400
mov rcx, r14
call qword [sym.imp.USER32.dll_GetMenuState]
bt eax, 0xb
jb 0x1400720bf
xor edx, edx
mov r8d, 0x400
mov rcx, r14
call qword [sym.imp.USER32.dll_DeleteMenu]
inc ebx
cmp ebx, 0xf
jl 0x140072090
mov rcx, qword [rsp + 0x20c0]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0x20d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret