Function at 0x140014890
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x560], rax
movzx eax, word [0x140096d90]
mov r14, r9
cmp ax, word [0x1400815c8]
mov rsi, r8
mov rdi, qword [rbp + 0x5c8]
mov r15, rdx
mov ebx, ecx
jne 0x140014943
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
lea rcx, [rbp + 0x140]
call fcn.1400145e0
test eax, eax
je 0x14001492f
lea rax, str.progressinfo.ini
mov edx, 0x104
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
lea r8, [0x140080d48]
lea rcx, [0x140096d90]
call fcn.1400032c0
jmp 0x140014943
movzx eax, word [0x140096d90]
cmp ax, word [0x1400815c8]
je 0x1400149c7
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x208
call fcn.140043ce0
lea r8, [0x140096d90]
mov edx, 0x104
lea rcx, [rbp + 0x350]
call fcn.140049578
cmp ebx, 1
jne 0x14001499b
lea r9, [rbp + 0x350]
lea r8d, [rbx - 2]
lea rdx, str._Flow_
lea rcx, str.Flow
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, 5
jmp 0x140014e06
cmp ebx, 2
jne 0x1400149ef
lea r9, [rbp + 0x350]
lea r8d, [rbx - 3]
lea rdx, str._Stage_
lea rcx, str.Flow
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
test eax, eax
jns 0x140014e0c
xor eax, eax
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14001f4e0
mov rbx, qword [rsp + 0x6a0]
add rsp, 0x670
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp ebx, 3
jne 0x140014a18
lea r9, [rbp + 0x350]
lea r8d, [rbx - 4]
lea rdx, str._Percentage_
lea rcx, str.Flow
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
jmp 0x140014e0c
cmp ebx, 4
jne 0x140014a62
test r14, r14
je 0x140014ed3
lea rax, [rbp + 0x350]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x1400815c8]
mov eax, dword [rbp + 0x5c0]
lea rdx, str._CurrentUser_
lea rcx, str.Flow
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea eax, [rbx - 3]
jmp 0x1400149c9
cmp ebx, 5
jne 0x140014aac
test r14, r14
je 0x140014ed3
lea rax, [rbp + 0x350]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x1400815c8]
mov eax, dword [rbp + 0x5c0]
lea rdx, str._UserName_
lea rcx, str.Flow
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea eax, [rbx - 4]
jmp 0x1400149c9
cmp ebx, 6
jne 0x140014af6
test r14, r14
je 0x140014ed3
lea rax, [rbp + 0x350]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x1400815c8]
mov eax, dword [rbp + 0x5c0]
lea rdx, str._Path_
lea rcx, str.Target
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea eax, [rbx - 5]
jmp 0x1400149c9
cmp ebx, 7
jne 0x140014b29
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rdx, str._Size_
lea rcx, str.Collection
jmp 0x140014e83
cmp ebx, 8
jne 0x140014b5c
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rdx, str._Size_
lea rcx, str.Setting
jmp 0x140014e83
cmp ebx, 9
jne 0x140014b8f
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rdx, str._Size_
lea rcx, str.Application
jmp 0x140014e83
cmp ebx, 0xa
jne 0x140014bc2
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rdx, str._Size_
lea rcx, [0x1400819d8]
jmp 0x140014e83
cmp ebx, 0xb
jne 0x140014bda
lea rdx, str._Complete_
lea rcx, str.Collection
jmp 0x140014df0
cmp ebx, 0xc
jne 0x140014c0d
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rdx, str._ProgressSize_
lea rcx, str.Collection
jmp 0x140014e83
cmp ebx, 0xd
jne 0x140014c51
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140049578
lea rcx, [rsp + 0x30]
call fcn.140006470
lea rdx, [rsp + 0x30]
lea rcx, str.SettingComplete
jmp 0x140014df0
cmp ebx, 0xe
jne 0x140014d04
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140049578
lea rcx, [rsp + 0x30]
call fcn.140006470
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
lea rax, [rbp + 0x350]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x140]
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.SettingSize
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rbp + 0x140]
cmp ax, word [0x1400815c8]
je 0x140014ece
lea rcx, [rbp + 0x140]
call fcn.14004b99c
mov qword [rdi], rax
lea eax, [rbx - 0xd]
jmp 0x1400149c9
cmp ebx, 0xf
jne 0x140014d49
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rbp + 0x140]
mov edx, 0x104
call fcn.140049578
lea rcx, [rbp + 0x140]
call fcn.140006470
lea rcx, str.ApplicationComplete
jmp 0x140014de9
cmp ebx, 0x10
jne 0x140014da9
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rbp + 0x140]
mov edx, 0x104
call fcn.140049578
lea rcx, [rbp + 0x140]
call fcn.140006470
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rcx, str.ApplicationSize
jmp 0x140014e7c
cmp ebx, 0x11
jne 0x140014e21
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rbp + 0x140]
mov edx, 0x104
call fcn.140049578
lea rcx, [rbp + 0x140]
call fcn.140006470
lea rcx, str.UWPComplete
lea rdx, [rbp + 0x140]
mov r8d, 0xffffffff
lea r9, [rbp + 0x350]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, 1
ja 0x1400149c7
test rsi, rsi
je 0x140014ed3
mov dword [rsi], eax
mov eax, 1
jmp 0x1400149c9
cmp ebx, 0x12
jne 0x1400149c7
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140043ce0
mov r8, r15
lea rcx, [rbp + 0x140]
mov edx, 0x104
call fcn.140049578
lea rcx, [rbp + 0x140]
call fcn.140006470
test rdi, rdi
je 0x140014ed3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea rcx, str.UWPSize
lea rdx, [rbp + 0x140]
lea rax, [rbp + 0x350]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1400815c8]
je 0x140014ece
lea rcx, [rsp + 0x30]
call fcn.14004b99c
mov qword [rdi], rax
mov eax, 1
jmp 0x1400149c9
xor eax, eax
mov qword [rdi], rax
mov eax, 1
jmp 0x1400149c9