Function at 0x140042c80
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
xor r12d, r12d
mov word [rbp + 0x160], r12w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x162]
call sub.MSVCR120.dll_memset
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x52]
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x50]
call fcn.140042a40
lea rax, str..ini
mov qword [rsp + 0x20], rax
lea r9, str.resource
lea r8, [rsp + 0x50]
lea rdx, [0x14007293c]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCR120.dll__wmakepath]
mov edx, Ordinal_265
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r9, rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], Ordinal_266
lea r8, [0x14007293c]
lea rdx, str.Current
lea rcx, str.Init
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test ebx, ebx
je 0x140042eed
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x52]
call sub.MSVCR120.dll_memset
mov r8d, Ordinal_265
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140042810
mov rbx, qword [rdi]
mov edx, Ordinal_265
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r9, rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], Ordinal_266
lea r8, [0x14007293c]
lea rdx, str.Name
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rdi]
mov edx, Ordinal_265
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r9, rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], Ordinal_266
lea r8, [0x14007293c]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test ebx, ebx
je 0x140042ed6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_2867]
test eax, eax
je 0x140042ed6
mov rbx, qword [rsp + 0x30]
mov edx, Ordinal_265
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r9, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140042710
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov al, 1
jmp 0x140042eef
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
xor al, al
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140065260
add rsp, 0x480
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret