Function at 0x14000f240
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x300
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov esi, edx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x14000f6de
cmp edx, 2
ja 0x14000f6de
lea edi, [r8 - 1]
cmp edi, 0xa
ja 0x14000f6de
cmp dword [rcx + 0x8c0], 0
je 0x14000f2a2
add rcx, 0x1120
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
movups xmm0, xmmword [str.Wallpaper]
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [0x140081a28]
mov dword [rsp + 0x40], eax
xor eax, eax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x6c], eax
movups xmm0, xmmword [str.Screensaver]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [0x140081a40]
movsd qword [rsp + 0x80], xmm1
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [str.HighContrast]
movaps xmmword [rsp + 0xb0], xmm0
movsd xmm1, qword [0x140081a58]
movsd qword [rsp + 0xc0], xmm1
movzx eax, word [0x140081a60]
mov word [rsp + 0xc8], ax
xor eax, eax
mov qword [rsp + 0xca], rax
mov qword [rsp + 0xd2], rax
mov qword [rsp + 0xda], rax
mov qword [rsp + 0xe2], rax
mov dword [rsp + 0xea], eax
mov word [rsp + 0xee], ax
movups xmm0, xmmword [str.Bookmarks]
movaps xmmword [rsp + 0xf0], xmm0
mov eax, dword [0x140081a78]
mov dword [rsp + 0x100], eax
xor eax, eax
mov qword [rsp + 0x104], rax
mov qword [rsp + 0x10c], rax
mov qword [rsp + 0x114], rax
mov qword [rsp + 0x11c], rax
mov qword [rsp + 0x124], rax
mov dword [rsp + 0x12c], eax
movups xmm0, xmmword [str.Timezone]
movaps xmmword [rsp + 0x130], xmm0
movzx eax, word [0x140081a90]
mov word [rsp + 0x140], ax
xor eax, eax
mov qword [rsp + 0x142], rax
mov qword [rsp + 0x14a], rax
mov qword [rsp + 0x152], rax
mov qword [rsp + 0x15a], rax
mov qword [rsp + 0x162], rax
mov dword [rsp + 0x16a], eax
mov word [rsp + 0x16e], ax
movups xmm0, xmmword [str.WiFiProfile]
movaps xmmword [rsp + 0x170], xmm0
movsd xmm1, qword [0x140081aa8]
movsd qword [rsp + 0x180], xmm1
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rax
movups xmm0, xmmword [str.LANProxy]
movaps xmmword [rsp + 0x1b0], xmm0
movzx eax, word [0x140081ac0]
mov word [rsp + 0x1c0], ax
xor eax, eax
mov qword [rsp + 0x1c2], rax
mov qword [rsp + 0x1ca], rax
mov qword [rsp + 0x1d2], rax
mov qword [rsp + 0x1da], rax
mov qword [rsp + 0x1e2], rax
mov dword [rsp + 0x1ea], eax
mov word [rsp + 0x1ee], ax
movups xmm0, xmmword [str.NetworkDrive]
movaps xmmword [rsp + 0x1f0], xmm0
movsd xmm1, qword [0x140081ad8]
movsd qword [rsp + 0x200], xmm1
movzx eax, word [0x140081ae0]
mov word [rsp + 0x208], ax
xor eax, eax
mov qword [rsp + 0x20a], rax
mov qword [rsp + 0x212], rax
mov qword [rsp + 0x21a], rax
mov qword [rsp + 0x222], rax
mov dword [rsp + 0x22a], eax
mov word [rsp + 0x22e], ax
movups xmm0, xmmword [str.Keyboard]
movaps xmmword [rsp + 0x230], xmm0
movzx eax, word [0x140081af8]
mov word [rsp + 0x240], ax
xor eax, eax
mov qword [rsp + 0x242], rax
mov qword [rsp + 0x24a], rax
mov qword [rsp + 0x252], rax
mov qword [rsp + 0x25a], rax
mov qword [rsp + 0x262], rax
mov dword [rsp + 0x26a], eax
mov word [rsp + 0x26e], ax
movsd xmm0, qword [str.Mouse]
movsd qword [rsp + 0x270], xmm0
mov eax, dword [0x140081b08]
mov dword [rsp + 0x278], eax
xor eax, eax
mov qword [rsp + 0x27c], rax
mov qword [rsp + 0x284], rax
mov qword [rsp + 0x28c], rax
mov qword [rsp + 0x294], rax
mov qword [rsp + 0x29c], rax
mov qword [rsp + 0x2a4], rax
mov dword [rsp + 0x2ac], eax
movups xmm0, xmmword [str.PowerPlan]
movaps xmmword [rsp + 0x2b0], xmm0
mov eax, dword [0x140081b20]
mov dword [rsp + 0x2c0], eax
xor eax, eax
mov qword [rsp + 0x2c4], rax
mov qword [rsp + 0x2cc], rax
mov qword [rsp + 0x2d4], rax
mov qword [rsp + 0x2dc], rax
mov qword [rsp + 0x2e4], rax
mov dword [rsp + 0x2ec], eax
mov eax, edi
shl rax, 6
lea r14, [rsp + 0x30]
add r14, rax
lea rdi, [rbx + 0x1148]
mov r9d, 1
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.140016e20
mov edx, esi
mov rcx, rdi
call fcn.140016ca0
lea edx, [rax + 1]
mov r8d, esi
mov rcx, rdi
call fcn.140016d10
cmp esi, 1
ja 0x14000f6bf
mov r9, rdi
xor r8d, r8d
lea rdx, str.Number
lea rcx, str.Cancel
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov esi, eax
test eax, eax
je 0x14000f6bf
mov r9, rdi
xor r8d, r8d
mov rdx, r14
lea rcx, str.Cancel
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x14000f6bf
xor r9d, r9d
lea r8d, [rax + 1]
mov rdx, r14
mov rcx, rdi
call fcn.140016e20
lea edx, [rsi - 1]
mov r8d, 2
mov rcx, rdi
call fcn.140016d10
nop
cmp dword [rbx + 0x8c0], 0
je 0x14000f6d5
lea rcx, [rbx + 0x1120]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14000f6d7
mov eax, 1
jmp 0x14000f6e0
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14001f4e0
mov rbx, qword [rsp + 0x338]
add rsp, 0x300
pop r14
pop rdi
pop rsi
ret