Function at 0x14000145c
Capabilities:
Read .ini file

Disassembly:
test rdx, rdx
je 0x14000165d
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140012728]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov ebx, r8d
mov rdi, rdx
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000163c
movzx edx, word [rsp + 0x60]
lea rcx, str._c:SetupPlatformDebug.INI
call qword [sym.imp.unbcl.dll_public:_static_class_UnBCL::String____ptr64___cdecl_UnBCL::String::Format_unsigned_short_int_const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.unbcl.dll_public:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::constructor_class_UnBCL::String____ptr64____ptr64]
nop
lea rax, str.Begin
lea rsi, [0x14000b0a8]
test ebx, ebx
cmovne rsi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::String____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::operator___void_const___ptr64]
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
mov rdx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xa
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 1
test eax, eax
je 0x14000158e
mov r8d, ebx
lea rdx, [0x14000b0b0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
je 0x140001616
mov r8d, ebx
lea rdx, str.TRUE
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
je 0x140001616
mov r8d, ebx
lea rdx, [0x14000b0c4]
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
je 0x140001616
lea rcx, [rsp + 0x30]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::String____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::operator___void_const___ptr64]
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x14000b0c8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140001631
mov r8d, ebx
lea rdx, [0x14000b0b0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
je 0x140001616
mov r8d, ebx
lea rdx, str.TRUE
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
je 0x140001616
mov r8d, ebx
lea rdx, [0x14000b0c4]
lea rcx, [rsp + 0x48]
call qword [sym.imp.unbcl.dll_public:_static_int___cdecl_UnBCL::String::Compare_unsigned_short_int_const____ptr64__unsigned_short_int_const____ptr64__int_]
test eax, eax
jne 0x140001631
mov rcx, rdi
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
xor r9d, r9d
mov r8, rsi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::destructor_void____ptr64]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140008670
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret