Function at 0x1400014ec
Capabilities:
Read .ini file

Disassembly:
test rdx, rdx
je 0x140001763
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 [0x140013728]
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]
nop dword [rax + rax]
test eax, eax
je 0x140001742
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_]
nop dword [rax + rax]
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 dword [rax + rax]
nop
lea rax, str.Begin
lea rsi, [0x14000c0c8]
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]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
nop dword [rax + rax]
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]
nop dword [rax + rax]
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]
nop dword [rax + rax]
mov ebx, 1
test eax, eax
je 0x14000165a
mov r8d, ebx
lea rdx, [0x14000c0d0]
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_]
nop dword [rax + rax]
test eax, eax
je 0x14000170a
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_]
nop dword [rax + rax]
test eax, eax
je 0x14000170a
mov r8d, ebx
lea rdx, [0x14000c0e4]
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_]
nop dword [rax + rax]
test eax, eax
je 0x14000170a
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]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x14000c0e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
test eax, eax
je 0x140001731
mov r8d, ebx
lea rdx, [0x14000c0d0]
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_]
nop dword [rax + rax]
test eax, eax
je 0x14000170a
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_]
nop dword [rax + rax]
test eax, eax
je 0x14000170a
mov r8d, ebx
lea rdx, [0x14000c0e4]
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_]
nop dword [rax + rax]
test eax, eax
jne 0x140001731
mov rcx, rdi
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
nop dword [rax + rax]
xor r9d, r9d
mov r8, rsi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::destructor_void____ptr64]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140009280
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret