Function at 0x1001f540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10095ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
push 0
call fcn.100779c0
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
lea ebx, [edi + 0x28]
mov ebp, eax
mov eax, dword [ebx + 4]
add esp, 4
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x1001f592
lea eax, [edi + 0x28]
cmp ebx, eax
je 0x1001f59c
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call esi
jmp 0x1001f5a2
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x1c]
je 0x1001f6d0
test ebx, ebx
jne 0x1001f5b2
call esi
cmp ebp, dword [ebx + 4]
jne 0x1001f5b9
call esi
mov ecx, dword [edi + 0x78]
mov esi, dword [ebp + 8]
push str.________________________________________________________________________
push ecx
call fcn.10077b60
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x60], 0
jb 0x1001f5ee
mov eax, dword [eax + 4]
jmp 0x1001f5f1
add eax, 4
push eax
mov eax, dword [edi + 0x78]
push str.__StorageScan__s__START
push eax
call fcn.10077b60
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [edi + 0x78]
push str.________________________________________________________________________
push ecx
call fcn.10077b60
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
add esp, 8
lea eax, [edi + 4]
push eax
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [edi + 0x10]
push ecx
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [edi + 0x1c]
push ecx
push 2
mov ecx, esi
call edx
mov eax, dword [edi + 0x78]
push str.________________________________________________________________________
push eax
call fcn.10077b60
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x60], 1
jb 0x1001f685
mov eax, dword [eax + 4]
jmp 0x1001f688
add eax, 4
push eax
mov eax, dword [edi + 0x78]
push str.__StorageScan__s__FINISHED
push eax
call fcn.10077b60
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [edi + 0x78]
push str.________________________________________________________________________
push ecx
call fcn.10077b60
add esp, 8
cmp ebp, dword [ebx + 4]
jne 0x1001f6c8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
jmp 0x1001f587
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x100a2cc0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
lea esi, [edi + 0x34]
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
mov dword [esp + 0x9c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov dword [esp + 0x98], 0xffffffff
call fcn.1001d340
test eax, eax
je 0x1001f71e
mov byte [edi + 0x7c], 0
jmp 0x1001f722
mov byte [edi + 0x7c], 1
cmp byte [edi + 0x7c], 0
mov eax, str.true
jne 0x1001f732
mov eax, str.false
cmp dword [esi + 0x18], 0x10
jb 0x1001f73d
mov esi, dword [esi + 4]
jmp 0x1001f740
add esi, 4
mov edx, dword [edi + 0x78]
push eax
push esi
push str.This_storage__s_s_permission_is___s_
push edx
call fcn.10077b60
add esp, 0x10
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret