Function at 0x10009b20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013c0b
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
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
push ecx
lea ecx, [ebp - 0xf0]
call fcn.1000a880
push ecx
push 1
push 0x100164f8
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0
call fcn.10002480
test eax, eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
push 0
mov eax, dword [eax + 4]
jne 0x10009b93
push 2
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x10009b9d
push 0
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe4], 6
je 0x10009be4
lea ecx, [ebp - 0xf0]
call fcn.10006090
mov esi, dword [sym.imp.MSVCR120.dll_remove]
push 0x1001672c
call esi
add esp, 4
push 0x10016730
call esi
add esp, 4
push 0x100164f8
call esi
add esp, 4
call fcn.10009420
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000b090
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.1000b1b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009c58
mov edi, edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000a950
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
inc dword [eax]
call fcn.1000b1b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009c30
lea ecx, [ebp - 0xf0]
call fcn.10006090
push ecx
push 1
push 0x100164f8
lea ecx, [ebp - 0xe0]
call fcn.10002480
test eax, eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
push 0
mov eax, dword [eax + 4]
jne 0x10009c97
push 2
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x10009ca1
push 0
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
call fcn.1000b1b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009cef
jmp 0x10009cc0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000a950
lea ecx, [ebp - 0xf0]
cmp dword [eax], 1
jg 0x10009d95
lea edx, [ebp - 0x28]
call fcn.1000b1b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009cc0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1000aa60
push dword [ebp - 0x30]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x10009d1d
push dword [ebp - 0x28]
call esi
add esp, 4
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xe0]
call fcn.10001890
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, 1
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
call fcn.10006090
call fcn.100091a0
int3