Function at 0x4076b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43b78c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [ebx + 0xae]
cmp ebp, dword [ebx + 0xb2]
je 0x4079ea
cmp dword [ebp + 0x1c], 0
jne 0x40788c
cmp dword [ebp + 0x18], 0x10
jb 0x40770b
mov esi, dword [ebp + 4]
jmp 0x40770e
lea esi, [ebp + 4]
mov edi, 0x4439a3
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40788c
push ebp
lea ecx, [esp + 0x38]
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__]
xor esi, esi
lea edi, [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x5c], esi
call fcn.00406830
mov dword [esp + 0x14], esi
cmp dword [ebp + 0x52], esi
jl 0x4078a0
cmp dword [ebx + 0x48], esi
jne 0x407778
cmp dword [ebx + 0x64], 0x10
jb 0x40775b
mov eax, dword [ebx + 0x50]
jmp 0x40775e
lea eax, [ebx + 0x50]
push 0x443a04
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 8
cmp eax, esi
mov dword [ebx + 0x48], eax
je 0x4079d8
movzx edx, word [ebp + 0x5e]
movzx ecx, word [ebp + 0x60]
mov eax, dword [ebp + 0x52]
add ecx, edx
mov edx, dword [ebx + 0x48]
push esi
lea ecx, [ecx + eax + 0x1e]
push ecx
push edx
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4078c9
movzx eax, word [ebp + 0x58]
cmp ax, si
je 0x4077b3
cmp ax, 8
jne 0x4078f3
mov eax, dword [ebp + 0x46]
push eax
push 0x10
call fcn.00420870
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x407943
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x46]
push eax
push ecx
push 1
push esi
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, dword [ebp + 0x46]
jne 0x40797d
push 0x18
push 0x10
call fcn.00420870
add esp, 8
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x5c], 7
je 0x40781f
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], edi
mov edx, dword [ebp + 0x46]
push str.BinaryBlock_ZipRead
push edx
push esi
mov ecx, eax
call fcn.00411480
jmp 0x407821
xor eax, eax
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x40782d
add dword [eax + 4], 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 8
call fcn.0040afa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.00411460
mov eax, esi
mov byte [ebp + 0x74], 1
call fcn.004207d0
mov ecx, dword [ebp + 0x46]
lea edx, [esp + 0x14]
mov dword [ebp + 0x6c], ecx
push edx
lea ecx, [ebp + 0x1c]
call fcn.0040afa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0
call fcn.00411460
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 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_]
add ebp, 0x75
cmp ebp, dword [ebx + 0xb2]
jne 0x4076f6
jmp 0x4079ea
mov dword [esp + 0x28], esi
mov byte [esp + 0x5c], 2
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
je 0x4078c1
mov dword [ebp + 0x1c], esi
add dword [ecx + 4], 0xffffffff
jne 0x4078c1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp + 0x6c], esi
jmp 0x4079d8
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
mov eax, dword [esp + 0x38]
mov ecx, eax
jae 0x4078de
lea ecx, [esp + 0x38]
mov eax, ecx
push ecx
push eax
call fcn.00411140
add esp, 8
mov dword [esp + 0x2c], esi
mov byte [esp + 0x5c], 3
jmp 0x4078a9
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
mov eax, dword [esp + 0x38]
mov ecx, eax
jae 0x407908
lea ecx, [esp + 0x38]
mov eax, ecx
push ecx
push eax
movzx eax, word [ebp + 0x58]
push eax
call fcn.00411140
add esp, 0xc
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x60], 4
call fcn.0040afa0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 1
call fcn.00411460
mov dword [ebp + 0x6c], esi
jmp 0x4079ca
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
mov eax, dword [esp + 0x38]
mov ecx, eax
jae 0x407958
lea ecx, [esp + 0x38]
mov eax, ecx
push ecx
push eax
call fcn.00411140
add esp, 8
mov dword [esp + 0x24], edi
lea edx, [esp + 0x24]
push edx
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x60], 5
call fcn.0040afa0
mov dword [ebp + 0x6c], edi
jmp 0x4079d8
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
mov eax, dword [esp + 0x38]
mov ecx, eax
jae 0x407992
lea ecx, [esp + 0x38]
mov eax, ecx
push ecx
push eax
call fcn.00411140
add esp, 8
mov eax, esi
call fcn.004207d0
mov dword [esp + 0x20], edi
lea eax, [esp + 0x20]
push eax
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x60], 6
call fcn.0040afa0
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 1
call fcn.00411460
mov dword [ebp + 0x6c], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0
call fcn.00411460
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 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 [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00436b14
add esp, 0x4c
ret