Function at 0x40ad60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f81e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x414378]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040ad20
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040ad20
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0040ad20
add esp, 8
mov byte [ebp - 4], 2
push str..dmp
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call sub.minizip.dll_Ordinal_1
add esp, 8
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
push 9
push 8
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call sub.minizip.dll_Ordinal_2
add esp, 0x28
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], 0
push 0x410a74
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_fopen_s]
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x10], 0
jne 0x40aeb0
mov byte [ebp - 0x9d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x9d]
jmp 0x40af78
push 0x1000
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1000
push 1
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call sub.minizip.dll_Ordinal_3
add esp, 0xc
cmp dword [ebp - 0x34], 0
jne 0x40aec8
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.minizip.dll_Ordinal_4
add esp, 4
push 0
mov edx, dword [ebp - 0x3c]
push edx
call sub.minizip.dll_Ordinal_5
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x40af3e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov byte [ebp - 0x9e], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x9e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e566
mov esp, ebp
pop ebp
ret