Function at 0x140042e50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
lea rcx, str.C:glsconfig.txt
xor r14d, r14d
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov qword [rsp + 0x30], r14
lea rcx, str.C:glsconfig.txt
mov edi, 2
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm1, xmmword [0x1400529a0]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
mov byte [0x14005baaa], r14b
movups xmmword [rsp + 0x40], xmm0
lea rcx, [0x14005b638]
mov byte [rsp + 0x40], r14b
mov dword [0x14005bbe0], r14d
mov dword [0x14005b0a4], 0x44c80000
mov dword [0x14005b0b4], 0x443b8000
mov dword [0x14005b0c0], 0x43fa0000
mov dword [0x14005b0a0], 0x447a0000
mov byte [0x14005b095], 1
mov byte [0x14005baab], r14b
mov dword [0x14005b090], 1
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x60], 0x16
mov byte [rsp + 0x68], 1
call fcn.140003330
movzx eax, byte [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov byte [0x14005b658], al
movzx eax, byte [rsp + 0x68]
mov byte [0x14005b660], al
cmp rdx, 0xf
jbe 0x140042f86
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042f81
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043505
call fcn.140043c34
movdqa xmm1, xmmword [0x1400529a0]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
mov byte [rsp + 0x60], 0x30
movups xmmword [rsp + 0x40], xmm0
lea rcx, [0x14005b608]
mov byte [rsp + 0x40], r14b
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x68], 1
call fcn.140003330
movzx eax, byte [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov byte [0x14005b628], al
movzx eax, byte [rsp + 0x68]
mov byte [0x14005b630], al
cmp rdx, 0xf
jbe 0x14004300f
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004300a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043505
call fcn.140043c34
mov qword [rsp + 0x218], rsi
lea rcx, [0x14005bac0]
xor edx, edx
mov qword [rsp + 0x220], r15
mov r8d, 0x104
mov byte [0x14005b0a8], 1
mov byte [0x14005b096], 1
mov byte [0x14005b094], 1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x14005bc90]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov byte [0x14005bc95], 0x2a
mov dword [0x14005bbd8], eax
lea r15, [0x140000000]
mov byte [0x14005bbdc], al
xorps xmm0, xmm0
mov byte [0x14005baad], al
mov esi, 0x42
movzx eax, byte [0x14005baaa]
mov edx, esi
mov dword [rsp + 0x40], eax
xorps xmm1, xmm1
mov eax, dword [0x14005bbe0]
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x44], eax
mov r8, rbx
cvttss2si eax, dword [0x14005b0a4]
mov byte [0x14005b097], 1
mov dword [0x14005b0b0], 0x32
mov dword [0x14005b0b8], 0x12c
mov dword [0x14005b098], 0x32
mov dword [0x14005b0ac], 0xc8
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x68], 1
movups xmmword [0x14005bbc8], xmm0
mov dword [rsp + 0x48], eax
cvttss2si eax, dword [0x14005b0b4]
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x80], 0xc8
movdqa xmm0, xmmword [0x140052a10]
mov dword [rsp + 0x4c], eax
cvttss2si eax, dword [0x14005b0c0]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm0, xmm0
mov dword [rsp + 0x50], eax
cvttss2si eax, dword [0x14005b0a0]
movups xmmword [rbp + 0xb0], xmm0
mov dword [rsp + 0x54], eax
movzx eax, byte [0x14005b095]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x14005baab]
mov dword [rsp + 0x5c], eax
mov eax, dword [0x14005b090]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x14005b658]
cmp al, 0x67
movdqa xmmword [rbp + 0xc0], xmm1
cmovb edx, eax
movzx eax, dl
lea rcx, [rax + rax*2]
mov rdx, qword [r15 + rcx*8 + 0x4e1c0]
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140043190
lea rcx, [rbp + 0xb0]
call fcn.14003bbf0
movzx eax, byte [0x14005b628]
xorps xmm0, xmm0
cmp al, 0x67
xorps xmm1, xmm1
movups xmmword [rbp + 0xd0], xmm0
cmovb esi, eax
movdqa xmmword [rbp + 0xe0], xmm1
movzx eax, sil
lea rcx, [rax + rax*2]
mov rdx, qword [r15 + rcx*8 + 0x4e1c0]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x1400431d6
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.14003bbf0
lea rax, [r15 + 0x527c0]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x48]
lea rax, [0x1400527a8]
mov qword [rbp - 0x60], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rax, qword [rbp - 0x70]
lea rsi, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0xb8]
mov dword [rbp + rcx - 0x74], r8d
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [rbp + 0x24], r14b
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x58], rax
mov byte [rbp + 0x19], r14b
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov rax, qword [0x14005be80]
lea rdx, str.C:glsconfig.txt
mov r8d, edi
mov qword [rbp + 0x1c], rax
lea rcx, [rbp - 0x58]
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x10], r14
call fcn.140003690
mov r15, qword [rsp + 0x220]
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
je 0x1400432bd
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400432c8
add rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rbx, r14
nop dword [rax + rax]
test rbx, rbx
jne 0x1400432fa
lea rdx, str._SETTINGS_
lea rcx, [rbp - 0x60]
call fcn.1400435b0
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
jmp 0x1400432d0
jle 0x14004336d
cmp rbx, 0xb
jg 0x14004330b
mov edx, dword [rsp + rbx*4 + 0x3c]
jmp 0x140043405
cmp rbx, 0xd
jg 0x14004333f
lea rax, [rbx - 0xc]
shl rax, 5
lea rdx, [rbp + 0xb0]
add rdx, rax
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x140043331
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.1400437b0
jmp 0x14004340f
cmp rbx, 0xe
jne 0x14004336d
lea rdx, [0x14005bac0]
lea rcx, [rbp - 0x60]
call fcn.1400435b0
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
jmp 0x1400432d0
cmp rbx, 0xf
jne 0x14004339b
lea rdx, str._VERSION_
lea rcx, [rbp - 0x60]
call fcn.1400435b0
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
jmp 0x1400432d0
cmp rbx, 0x10
jne 0x1400433c9
lea rdx, [0x14005182c]
lea rcx, [rbp - 0x60]
call fcn.1400435b0
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
jmp 0x1400432d0
cmp rbx, 0x11
jne 0x1400433f7
lea rdx, str._RANDOMIZATION_
lea rcx, [rbp - 0x60]
call fcn.1400435b0
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
jmp 0x1400432d0
lea rax, [rbx - 0x12]
cmp rax, 5
ja 0x14004341f
mov edx, dword [rsp + rbx*4 + 0x24]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140043770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc rbx
cmp rbx, 0x17
jle 0x1400432d0
lea rcx, [rbp - 0x58]
call fcn.1400035d0
test rax, rax
jne 0x140043454
mov rax, qword [rbp - 0x70]
xor r8d, r8d
mov edx, edi
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call fcn.140003250
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rsi, qword [rsp + 0x218]
lea rbx, [rbp + 0xf0]
nop
mov rdx, qword [rbx - 8]
lea rbx, [rbx - 0x20]
dec rdi
cmp rdx, 0xf
jbe 0x1400434dd
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400434d8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140043505
mov rcx, r8
call fcn.140043c34
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
test rdi, rdi
jne 0x1400434a0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1f0
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3