Function at 0x140076b20
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14009a0c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor r15d, r15d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x200
lea rdx, [rbp + 0x3a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140076b9c
xor eax, eax
jmp 0x140076e98
mov ecx, 0x1004
call fcn.140070920
mov rbx, rax
lea rcx, [rax + 0x200]
xor edx, edx
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0x600]
xor edx, edx
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0xa00]
xor edx, edx
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0xe00]
xor edx, edx
mov r8d, 0x204
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbx + 0x400]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbx + 0x800]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbx + 0xc00]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x3a0]
lea rax, [rbp + 0x3a0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x140076c60
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x38]
call fcn.1400035c0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400055c0
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400054d0
cmp qword [rax + 0x18], 8
jb 0x140076cae
mov rax, qword [rax]
lea r9, str.BattlEye_BELauncher.ini
mov r8, rax
lea rdx, str._s__s
lea rcx, [rbp - 0x60]
call fcn.140007270
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140076d0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076d08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140076d65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076d60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140076dbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076db7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076db7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.BasePort
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx + 0x1000], eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x200
mov r9, rbx
xor r8d, r8d
lea rdx, str.GameID
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x200
lea r9, [rbx + 0x400]
xor r8d, r8d
lea rdx, str.32BitExe
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x200
lea r9, [rbx + 0x800]
xor r8d, r8d
lea rdx, str.64BitExe
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x200
lea r9, [rbx + 0xc00]
xor r8d, r8d
lea rdx, str.BEArg
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, rbx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140070900
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret