Function at 0x140010020
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
test rcx, rcx
jne 0x140010060
xor eax, eax
jmp 0x14001034b
cmp dword [rcx + 0x8c0], 0
je 0x140010077
add rcx, 0x1350
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
xor esi, esi
mov dword [rsp + 0x30], esi
lea r14, [r15 + 0x1378]
mov r9, r14
xor r8d, r8d
lea rdx, str.Number
lea rcx, str.Application
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
xor ebx, ebx
lea r12, str.Complete
lea r13, str.Cancel
mov dword [rsp + 0x34], ebx
cmp ebx, edi
jae 0x1400101cf
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140043ce0
mov r9d, ebx
lea r8, str.Application_d
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400032c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140043ce0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x50]
lea r8, [0x1400815c8]
lea rdx, str.Status
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r12 + rcx*2 + 2]
jne 0x140010162
add rcx, 2
cmp rcx, 9
je 0x1400101c8
movzx eax, word [rdx + rcx*2]
cmp ax, word [r12 + rcx*2]
je 0x140010140
xor ecx, ecx
lea rdx, [rsp + 0x50]
lea r8, str.Fail
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140010187
cmp rcx, 5
jne 0x140010170
jmp 0x1400101c8
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x1400101a7
cmp rcx, 7
jne 0x140010190
jmp 0x1400101c2
mov r9, r14
mov r8, r13
lea rdx, str.Status
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
inc esi
mov dword [rsp + 0x30], esi
inc ebx
jmp 0x1400100b0
mov r9, r14
xor r8d, r8d
lea rdx, str.Number
lea rcx, [0x1400819d8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
xor ebx, ebx
mov dword [rsp + 0x38], ebx
cmp ebx, edi
jae 0x14001030f
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140043ce0
mov r9d, ebx
lea r8, str.UWP_d
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400032c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140043ce0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x50]
lea r8, [0x1400815c8]
lea rdx, str.Status
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r12 + rax*2 + 2]
jne 0x1400102a2
add rax, 2
cmp rax, 9
je 0x140010308
movzx ecx, word [rdx + rax*2]
cmp cx, word [r12 + rax*2]
je 0x140010280
xor ecx, ecx
lea rdx, [rsp + 0x50]
lea r8, str.Fail
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400102c7
cmp rcx, 5
jne 0x1400102b0
jmp 0x140010308
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x1400102e7
cmp rcx, 7
jne 0x1400102d0
jmp 0x140010302
mov r9, r14
mov r8, r13
lea rdx, str.Status
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
inc esi
mov dword [rsp + 0x30], esi
inc ebx
jmp 0x1400101ed
mov r8d, 2
mov edx, esi
mov rcx, r14
call fcn.140016d10
mov edx, 1
mov rcx, r14
call fcn.140016ef0
nop
cmp dword [r15 + 0x8c0], 0
je 0x140010344
lea rcx, [r15 + 0x1350]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x140010346
mov eax, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14001f4e0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret