Function at 0x10009dd0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013951
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
lea ecx, [ebp - 0x258]
push 1
push 0x10016730
call fcn.10005f90
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
push 1
push 0x1001672c
call fcn.10005f90
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
push 2
push 0x100164f8
call fcn.10001710
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 ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.10006400
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009ecd
lea esp, [esp]
push 0x100063d0
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xe8]
call fcn.100061e0
add esp, 4
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 ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x258]
call fcn.10006400
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009e90
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1a0]
call fcn.10006400
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009f2d
jmp 0x10009ef0
push 0x100063d0
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xe8]
call fcn.100061e0
add esp, 4
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 ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1a0]
call fcn.10006400
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009ef0
lea ecx, [ebp - 0x258]
call fcn.10006090
lea ecx, [ebp - 0x1a0]
call fcn.10006090
lea ecx, [ebp - 0xe8]
call fcn.10001810
push 2
push 0x100164f8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x1001672c
call esi
add esp, 4
push 0x10016730
call esi
add esp, 4
call fcn.10009b20
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x10009f8e
push dword [ebp - 0x28]
call esi
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x10009fae
push dword [ebp - 0x40]
call esi
add esp, 4
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.10001890
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
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_]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x190]
call fcn.10001890
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
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_]
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x25c], eax
lea ecx, [ebp - 0x248]
call fcn.10001890
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
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
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012bb9
mov esp, ebp
pop ebp
ret