Function at 0x42c8b0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b311
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6dd8d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x40
push 1
push 0x5b4660
lea ecx, [ebp - 0x258]
call fcn.0040b390
push 1
push 0x40
push 1
push 0x5b4664
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0
call fcn.0040b390
push 1
push 0x40
push 2
push 0x5b4668
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.0040c520
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0xa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004291b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x42c9bc
push 0x41d3b0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00428fa0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004291b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x42c976
push 0xa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004291b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x42ca28
push 0x41d3b0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00428fa0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004291b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x42c9e2
lea ecx, [ebp - 0x248]
call fcn.0040a310
test eax, eax
jne 0x42ca51
push eax
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x258]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x190]
call fcn.0040a310
test eax, eax
jne 0x42ca7a
push eax
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xe4]
call fcn.0040a310
test eax, eax
jne 0x42caa3
push eax
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push str.chgh
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x5b4684
call dword [sym.imp.MSVCR120.dll_remove]
push 0x5b4688
call dword [sym.imp.MSVCR120.dll_remove]
add esp, 8
call fcn.0042c4b0
cmp dword [ebp - 0x14], 0x10
jb 0x42cadf
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42cb02
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0040c630
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
call fcn.00409ef0
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1e8]
call fcn.00409ef0
lea ecx, [ebp - 0x1e8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059978a
mov esp, ebp
pop ebp
ret