Function at 0x14000fc70
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov dword [rsp + 0x38], r9d
mov r12, r8
mov edi, edx
mov r13, rcx
mov qword [rsp + 0x50], rcx
test rcx, rcx
jne 0x14000fcba
xor eax, eax
jmp 0x14000ffe9
xor r14d, r14d
mov dword [rsp + 0x34], r14d
lea esi, [r14 + 1]
cmp dword [rcx + 0x8c0], r14d
je 0x14000fcdd
add rcx, 0x1350
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
lea rbx, [r13 + 0x1378]
mov r9, rbx
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 dword [rsp + 0x40], eax
xor r15d, r15d
mov dword [rsp + 0x3c], r15d
cmp r15d, eax
jae 0x14000ffc8
test r14d, r14d
jne 0x14000ffc8
test esi, esi
je 0x14000ffc8
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x270]
call fcn.140043ce0
mov r9d, r15d
lea r8, str.Application_d
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.1400032c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140043ce0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x1400815c8]
lea rdx, str.GUID
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x60]
cmp ax, word [0x1400815c8]
je 0x14000ffbc
lea rax, [rsp + 0x60]
mov r8, r12
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000fdc6
add rax, 2
test ecx, ecx
jne 0x14000fdb2
test edx, edx
jne 0x14000ffbc
mov r9, rbx
lea r8d, [rdx - 1]
lea rdx, str.Type
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, dword [rsp + 0x38]
jne 0x14000ffbc
cmp edi, 2
ja 0x14000ffbc
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x1400815c8]
lea rdx, str.Status
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
lea r10, str.Complete
nop
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r10 + rax*2 + 2]
jne 0x14000fe62
add rax, 2
cmp rax, 9
je 0x14000fe95
movzx ecx, word [rdx + rax*2]
cmp cx, word [r10 + rax*2]
je 0x14000fe40
xor ecx, ecx
lea rdx, [rsp + 0x60]
lea r11, str.Fail
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r11 + rcx*2 - 2]
jne 0x14000feec
cmp rcx, 5
jne 0x14000fe70
cmp edi, 1
jne 0x14000feca
xor esi, esi
mov dword [rsp + 0x30], esi
jmp 0x14000ffbc
test edi, edi
jne 0x14000fea4
xor esi, esi
mov dword [rsp + 0x30], esi
jmp 0x14000ffbc
mov r9, rbx
xor r8d, r8d
lea rdx, str.Number
mov rcx, r10
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
test eax, eax
je 0x14000ff54
xor r8d, r8d
jmp 0x14000ff49
mov r9, rbx
xor r8d, r8d
lea rdx, str.Number
mov rcx, r11
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
test eax, eax
je 0x14000ff54
mov r8d, 1
jmp 0x14000ff49
xor ecx, ecx
lea rdx, [rsp + 0x60]
lea r8, str.Cancel
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14000ff69
cmp rcx, 7
jne 0x14000ff00
cmp edi, 2
jne 0x14000ff25
xor esi, esi
mov dword [rsp + 0x30], esi
jmp 0x14000ffbc
mov r9, rbx
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]
test eax, eax
je 0x14000ff54
mov r8d, 2
lea edx, [rax - 1]
mov rcx, rbx
call fcn.140016d10
lea r8, str.Cancel
lea r11, str.Fail
lea r10, str.Complete
test edi, edi
jne 0x14000ff72
mov r8, r10
jmp 0x14000ff81
cmp edi, 1
jne 0x14000ff7c
mov r8, r11
jmp 0x14000ff81
cmp edi, 2
jne 0x14000ff99
mov r9, rbx
lea rdx, str.Status
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov edx, edi
mov rcx, rbx
call fcn.140016ca0
lea edx, [rax + 1]
mov r8d, edi
mov rcx, rbx
call fcn.140016d10
mov r14d, 1
mov dword [rsp + 0x34], r14d
inc r15d
mov eax, dword [rsp + 0x40]
jmp 0x14000fd05
cmp dword [r13 + 0x8c0], 0
je 0x14000ffdf
lea rcx, [r13 + 0x1350]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x14000ffe6
mov eax, r14d
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001f4e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret