Function at 0x140042c60
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 [0x1400528d0]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
mov byte [0x14005aaaa], r14b
movups xmmword [rsp + 0x40], xmm0
lea rcx, [0x14005a638]
mov byte [rsp + 0x40], r14b
mov dword [0x14005abe0], r14d
mov dword [0x14005a0a4], 0x44c80000
mov dword [0x14005a0b4], 0x443b8000
mov dword [0x14005a0c0], 0x43fa0000
mov dword [0x14005a0a0], 0x447a0000
mov byte [0x14005a095], 1
mov byte [0x14005aaab], r14b
mov dword [0x14005a090], 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 [0x14005a658], al
movzx eax, byte [rsp + 0x68]
mov byte [0x14005a660], al
cmp rdx, 0xf
jbe 0x140042d96
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042d91
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043315
call fcn.140043a44
movdqa xmm1, xmmword [0x1400528d0]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
mov byte [rsp + 0x60], 0x30
movups xmmword [rsp + 0x40], xmm0
lea rcx, [0x14005a608]
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 [0x14005a628], al
movzx eax, byte [rsp + 0x68]
mov byte [0x14005a630], al
cmp rdx, 0xf
jbe 0x140042e1f
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e1a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043315
call fcn.140043a44
mov qword [rsp + 0x218], rsi
lea rcx, [0x14005aac0]
xor edx, edx
mov qword [rsp + 0x220], r15
mov r8d, 0x104
mov byte [0x14005a0a8], 1
mov byte [0x14005a096], 1
mov byte [0x14005a094], 1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x14005ac90]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov byte [0x14005ac95], 0x2a
mov dword [0x14005abd8], eax
lea r15, [0x140000000]
mov byte [0x14005abdc], al
xorps xmm0, xmm0
mov byte [0x14005aaad], al
mov esi, 0x42
movzx eax, byte [0x14005aaaa]
mov edx, esi
mov dword [rsp + 0x40], eax
xorps xmm1, xmm1
mov eax, dword [0x14005abe0]
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x44], eax
mov r8, rbx
cvttss2si eax, dword [0x14005a0a4]
mov byte [0x14005a097], 1
mov dword [0x14005a0b0], 0x32
mov dword [0x14005a0b8], 0x12c
mov dword [0x14005a098], 0x32
mov dword [0x14005a0ac], 0xc8
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x68], 1
movups xmmword [0x14005abc8], xmm0
mov dword [rsp + 0x48], eax
cvttss2si eax, dword [0x14005a0b4]
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x80], 0xc8
movdqa xmm0, xmmword [0x140052930]
mov dword [rsp + 0x4c], eax
cvttss2si eax, dword [0x14005a0c0]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm0, xmm0
mov dword [rsp + 0x50], eax
cvttss2si eax, dword [0x14005a0a0]
movups xmmword [rbp + 0xb0], xmm0
mov dword [rsp + 0x54], eax
movzx eax, byte [0x14005a095]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x14005aaab]
mov dword [rsp + 0x5c], eax
mov eax, dword [0x14005a090]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x14005a658]
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 + 0x4e1a0]
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140042fa0
lea rcx, [rbp + 0xb0]
call fcn.14003bbf0
movzx eax, byte [0x14005a628]
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 + 0x4e1a0]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140042fe6
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.14003bbf0
lea rax, [r15 + 0x526e0]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x48]
lea rax, [0x1400526c8]
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 [0x14005ae80]
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 0x1400430cd
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 0x1400430d8
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 0x14004310a
lea rdx, str._SETTINGS_
lea rcx, [rbp - 0x60]
call fcn.1400433c0
lea rdx, [0x140043580]
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 0x1400430e0
jle 0x14004317d
cmp rbx, 0xb
jg 0x14004311b
mov edx, dword [rsp + rbx*4 + 0x3c]
jmp 0x140043215
cmp rbx, 0xd
jg 0x14004314f
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 0x140043141
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.1400435c0
jmp 0x14004321f
cmp rbx, 0xe
jne 0x14004317d
lea rdx, [0x14005aac0]
lea rcx, [rbp - 0x60]
call fcn.1400433c0
lea rdx, [0x140043580]
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 0x1400430e0
cmp rbx, 0xf
jne 0x1400431ab
lea rdx, str._VERSION_
lea rcx, [rbp - 0x60]
call fcn.1400433c0
lea rdx, [0x140043580]
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 0x1400430e0
cmp rbx, 0x10
jne 0x1400431d9
lea rdx, [0x1400517dc]
lea rcx, [rbp - 0x60]
call fcn.1400433c0
lea rdx, [0x140043580]
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 0x1400430e0
cmp rbx, 0x11
jne 0x140043207
lea rdx, str._RANDOMIZATION_
lea rcx, [rbp - 0x60]
call fcn.1400433c0
lea rdx, [0x140043580]
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 0x1400430e0
lea rax, [rbx - 0x12]
cmp rax, 5
ja 0x14004322f
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, [0x140043580]
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 0x1400430e0
lea rcx, [rbp - 0x58]
call fcn.1400035d0
test rax, rax
jne 0x140043264
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 0x1400432ed
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400432e8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140043315
mov rcx, r8
call fcn.140043a44
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
test rdi, rdi
jne 0x1400432b0
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