Function at 0x40acf0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x198
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
mov qword [rax - 0x30], r15
mov rax, qword [0x00472618]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rdi, qword [rcx + 0x178]
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.00435390
mov rcx, rdi
call fcn.0040ba10
mov r11, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor edx, edx
nop
nop
movzx ecx, byte [r11 + rdx]
mov byte [rdi + rdx - 1], cl
add rdx, 1
test cl, cl
jne 0x40ad80
lea rdi, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.configOfflineDisabledBset.ini]
mov qword [rdi - 1], rax
mov rax, qword [0x00459830]
mov qword [rdi + 7], rax
mov rax, qword [0x00459838]
mov qword [rdi + 0xf], rax
mov rax, qword [0x00459840]
mov qword [rdi + 0x17], rax
lea rdx, [0x00459958]
lea rcx, [rsp + 0x40]
call fcn.00435370
mov qword [rsp + 0x28], rax
test rax, rax
je 0x40afd2
xor r15d, r15d
mov rcx, qword [rbx + 0x10]
xor ebp, ebp
test rcx, rcx
jle 0x40afca
nop
test rbp, rbp
js 0x40afc4
cmp rbp, rcx
jge 0x40afc4
mov rax, qword [rbx + 8]
mov rsi, qword [rax + rbp*8]
call fcn.00418b6c
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x40afb9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
test rsi, rsi
jne 0x40ae4b
xor r13d, r13d
jmp 0x40ae60
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
mov r12, rsi
sub r12, rbx
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + r13]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x40ae90
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.00406540
mov rbx, qword [rsp + 0x20]
cmp r12, r14
ja 0x40ae99
lea rsi, [r12 + rbx]
movsxd rdx, r13d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, rsi
call fcn.00436e80
test edi, edi
js 0x40afae
cmp edi, dword [rbx - 0xc]
jg 0x40afae
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [0x00459198]
repne scasb al, byte [rdi]
not rcx
lea r14, [rcx - 1]
lea r12, [0x00459198]
lea rsi, [0x00459198]
sub rsi, rbx
mov r13d, dword [rbx - 0x10]
lea edi, [r13 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x40af1b
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.00406540
mov rbx, qword [rsp + 0x20]
cmp rsi, r13
ja 0x40af24
lea r12, [rsi + rbx]
movsxd rdx, r14d
lea rcx, [r13 + rbx]
mov r9, rdx
mov r8, r12
call fcn.00436e80
test edi, edi
js 0x40afa3
cmp edi, dword [rbx - 0xc]
jg 0x40afa3
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
movsxd r8, dword [rbx - 0x10]
mov r9, qword [rsp + 0x28]
mov edx, 1
mov rcx, rbx
call fcn.0043a040
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x40af7f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add r15d, 1
add rbp, 1
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
movsxd rax, r15d
cmp rax, rcx
jl 0x40ae00
mov rax, qword [rsp + 0x28]
jmp 0x40afca
mov ecx, 0x80070057
call fcn.00404000
int3
mov ecx, 0x80070057
call fcn.00404000
nop
mov ecx, 0x80004005
call fcn.00404000
int3
call fcn.00417918
int3
mov rcx, rax
call fcn.00434d60
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.00434a90
mov rbx, qword [rsp + 0x1b0]
mov rbp, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x188]
mov r12, qword [rsp + 0x180]
mov r13, qword [rsp + 0x178]
mov r14, qword [rsp + 0x170]
mov r15, qword [rsp + 0x168]
add rsp, 0x198
ret