Function at 0x1000a530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100211c4
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40]
push edx
push 0x1015d39c
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x31], 0
call fcn.10006fe0
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x1000a580
lea eax, [ebp - 0x70]
push eax
push 0x1015d39c
call fcn.10016fa0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x1000a5b1
mov ecx, dword [eax]
cmp ecx, edi
je 0x1000a5b1
mov eax, dword [esi]
cmp eax, edi
jne 0x1000a5ab
xor eax, eax
jmp 0x1000a5ad
mov eax, dword [eax]
cmp ecx, eax
je 0x1000a605
push 0xee
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterators_incompatible
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
push str._Standard_C_Libraries_Invalid_Argument___0
push edi
push 0xef
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
add esp, 0x20
cmp eax, 1
jne 0x1000a5e7
int3
push edi
push 0xef
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.std::_Vector_const_iterator_class_std::_Vector_val_struct_DUMP_LIST_INFO_class_std::allocator_struct_DUMP_LIST_INFO_____::_Compat
push str._invalid_argument_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
add esp, 0x14
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [esi + 8]
push 3
lea ecx, [ebp - 0x64]
setne bl
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x70]
cmp esi, edi
je 0x1000a665
add esi, 4
cmp dword [esi], edi
je 0x1000a645
nop
mov eax, dword [esi]
lea edx, [ebp - 0x70]
cmp eax, edx
je 0x1000a641
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x1000a630
cmp dword [esi], edi
jne 0x1000a65d
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov dword [esi], eax
mov dword [ebp - 0x70], edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
test bl, bl
je 0x1000a92e
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x1000a698
mov eax, dword [eax]
cmp eax, edi
je 0x1000a698
mov ecx, dword [ebp - 0x38]
cmp ecx, edi
je 0x1000a698
cmp ecx, dword [eax + 4]
jb 0x1000a698
cmp dword [eax + 8], ecx
ja 0x1000a6e6
push 0x46
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterator_not_dereferencable
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
push str._Standard_C_Libraries_Out_of_Range___0
push edi
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
add esp, 0x20
cmp eax, 1
jne 0x1000a6c8
int3
push edi
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 0x10024d60
push str._out_of_range_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
mov ecx, dword [ebp - 0x38]
add esp, 0x14
cmp byte [ecx], 0
jne 0x1000a7aa
cmp byte [ebp - 0x31], 0
jne 0x1000a719
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push ecx
push edx
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x50]
lea ebx, [ebp - 0x44]
call fcn.1000a9e0
xor edi, edi
test al, al
je 0x1000a92e
mov byte [ebp - 0x31], 1
lea esi, [ebp - 0x40]
call fcn.1000ab70
mov esi, dword [eax + 4]
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x34]
mov ecx, esi
sub ecx, eax
push ecx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
cmp eax, edi
je 0x1000a7aa
mov edx, dword [eax + 0x14]
sub edx, dword [eax + 0xc]
push edi
sub edx, dword [ebx + 0x34]
push edi
add edx, esi
mov esi, dword [ebp - 0x44]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000a7aa
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push esi
mov dword [ebp - 0x5c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000a7aa
lea esi, [ebp - 0x40]
mov edi, 0x20
lea ebx, [ebp - 0x30]
call fcn.1000ab70
add eax, 8
mov edx, ebx
sub eax, edx
jmp 0x1000a790
cmp edi, 4
jb 0x1000a81a
mov ecx, dword [eax + ebx]
cmp ecx, dword [ebx]
jne 0x1000a7a8
sub edi, 4
add ebx, 4
jmp 0x1000a790
xor edi, edi
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x40]
call fcn.1000ab00
push 3
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x7c]
cmp esi, edi
je 0x1000a808
add esi, 4
cmp dword [esi], edi
je 0x1000a7e8
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
cmp eax, ecx
je 0x1000a7e4
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x1000a7d3
cmp dword [esi], edi
jne 0x1000a800
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov edx, dword [ebp - 0x78]
mov dword [esi], edx
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
jmp 0x1000a580
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1000a838
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a838
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000a838
cmp eax, dword [ecx + 4]
jb 0x1000a838
cmp dword [ecx + 8], eax
ja 0x1000a888
push 0x46
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterator_not_dereferencable
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
push str._Standard_C_Libraries_Out_of_Range___0
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
add esp, 0x20
cmp eax, 1
jne 0x1000a869
int3
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 0x10024d60
push str._out_of_range_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
mov eax, dword [ebp - 0x38]
add esp, 0x14
mov edi, dword [ebp - 0x4c]
lea esi, [eax + 0x28]
mov eax, dword [ebp - 0x54]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x44]
push edx
call esi
or edi, 0xffffffff
push 3
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1000a91b
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x1000a8f7
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x1000a8f2
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x1000a8e0
cmp dword [esi], 0
jne 0x1000a90f
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [esi], edx
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
xor al, al
jmp 0x1000a9b9
or ebx, 0xffffffff
push 3
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x40]
cmp esi, edi
je 0x1000a989
add esi, 4
cmp dword [esi], edi
je 0x1000a969
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x1000a965
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x1000a954
cmp dword [esi], edi
jne 0x1000a981
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [esi], edx
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp byte [ebp - 0x31], 0
je 0x1000a9b7
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x44]
push edx
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret 4