Function at 0x1009b190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd92f
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100e87b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xd0], ecx
xor edi, edi
add ecx, 0x10
mov dword [ebp - 0xd4], edi
mov dword [ebp - 4], edi
call fcn.1007ee00
push 0x100cefb4
push eax
call dword [sym.imp.MSVCR80.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [ebp - 0xd4], esi
jne 0x1009b210
push 0x100e23e8
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0xd8], 0xfffffffe
call sub.MSVCR80.dll__CxxThrowException
push esi
push 1
lea ecx, [ebp - 0xdc]
push 2
push ecx
mov dword [ebp - 0xdc], edi
call dword [sym.imp.MSVCR80.dll_fread]
push 0xffffffffffffffff
push edi
push 0x100cef7c
push edi
call fcn.100365f0
add esp, 0x20
cmp eax, edi
mov edi, eax
setne byte [ebp - 0xe4]
mov dword [ebp - 0xe0], edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [ebp - 0x30]
push esi
push edx
mov byte [ebp - 4], 2
call fcn.10099d10
add esp, 8
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.100996d0
mov byte [ebp - 4], 3
mov ebx, 1
mov edi, edi
test esi, esi
jne 0x1009b4c3
cmp dword [ebp - 0x1c], esi
jbe 0x1009b29e
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1009b299
lea eax, [ebp - 0x2c]
movzx eax, word [eax]
jmp 0x1009b2a0
xor eax, eax
movzx eax, ax
cmp eax, 0x5b
ja case.0x1009b2b3.1
movzx eax, byte [eax + 0x1009b580]
jmp dword [eax*4 + 0x1009b560]
test ebx, ebx
je 0x1009b2c2
xor ebx, ebx
jmp 0x1009b2d4
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0xd0]
call fcn.1009b100
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffffe
push edx
push 1
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call dword [0x100c01f8]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x1009b2b3.0
push 0
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je case.0x1009b2b3.0
push ecx
add eax, 1
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call dword [0x100c01f8]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x1009b2b3.0
push 0
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je case.0x1009b2b3.0
push ecx
add eax, 1
push eax
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call dword [0x100c01f8]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x1009b2b3.0
push 0
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je case.0x1009b2b3.0
lea esi, [eax + 1]
cmp ecx, esi
ja 0x1009b3db
call dword [sym.imp.MSVCP80.dll_public:_static_void___cdecl_std::_String_base::_Xran_void_]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1009b3e7
lea eax, [ebp - 0x2c]
mov ax, word [eax + esi*2]
mov word [ebp - 0x5c], ax
jmp case.0x1009b2b3.0
push 0
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je case.0x1009b2b3.0
push ecx
add eax, 1
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1009b429
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi64]
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x1009b2b3.0
push 0
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je case.0x1009b2b3.0
push ecx
add eax, 1
push eax
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call dword [0x100c01f8]
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x1009b2b3.0
push 0x134
push str..DBackupIniFile.cpp
push 0
call fcn.10001230
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.10099d10
add esp, 8
mov esi, eax
jmp 0x1009b280
cmp esi, 0xfffffff8
je 0x1009b4cd
or esi, 0xffffffff
jmp 0x1009b4e1
mov ecx, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
push edx
call fcn.1009b100
xor esi, esi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.1003b010
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [ebp - 0xe4], 0
je 0x1009b529
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x1009b529
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x1009b53d
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
xor eax, eax
test esi, esi
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100af9b2
mov esp, ebp
pop ebp
ret