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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x70227950
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x70227950
mov dword [esp + 8], 0x2f90
mov dword [esp + 4], 1
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x28]
mov ebx, eax
test eax, eax
jne 0x702276b1
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 0x10
jmp 0x70227950
lea eax, [eax + 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym._mz_zip_reader_file_stat
test eax, eax
je 0x7022793b
test byte [ebx + 0x54], 0x61
je 0x702276e7
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 5
jmp 0x702278a3
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x3c]
and edi, 0x400
mov dword [ebp - 0x40], edi
jne 0x7022770c
test word [ebx + 0x56], 0xfff7
je 0x7022770c
mov dword [eax + 0x1c], 4
jmp 0x702278a3
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
mov dword [ebx + 8], 0
mov dword [ebx + 0x38], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x490], 0
mov dword [ebx + 0x494], 0
mov dword [ebx + 0x498], 0
mov dword [ebx + 0x3c], edx
lea ecx, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov eax, dword [eax + 0x44]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x38]
cmp eax, 0x1e
je 0x702277a2
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 0x14
jmp 0x702278a3
cmp dword [ebp - 0x38], 0x4034b50
je 0x702277ba
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 9
jmp 0x702278a3
movzx edx, word [ebp - 0x1e]
movzx eax, word [ebp - 0x1c]
mov ecx, dword [ebx + 0x64]
lea eax, [edx + eax + 0x1e]
xor edx, edx
add eax, dword [ebx + 0x38]
adc edx, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebx + 0x3c], edx
mov dword [ebp - 0x44], edx
mov esi, dword [ebp - 0x48]
mov edx, dword [ebx + 0x60]
add esi, edx
mov edi, dword [ebp - 0x44]
adc edi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x3c]
mov dword [ebx + 0x38], eax
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x3c]
cmp dword [edi], esi
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x4c]
jae 0x7022781b
mov dword [edi + 0x1c], 9
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
mov eax, edi
jmp 0x7022794b
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x70227848
add eax, dword [ebp - 0x48]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x490], eax
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x2c], ecx
jmp 0x702278d4
cmp dword [ebp - 0x40], 0
jne 0x702278ac
cmp word [ebx + 0x56], 0
je 0x702278ac
mov eax, edx
mov edx, ecx
mov ecx, 0x10000
mov edi, dword [ebp - 0x40]
cmp ecx, eax
sbb edi, edx
jae 0x7022786e
mov eax, 0x10000
xor edx, edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], 1
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x28]
mov dword [ebx + 0x490], eax
test eax, eax
jne 0x702278ba
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 0x10
mov dword [esp + 4], ebx
jmp 0x70227942
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
cmp dword [ebp - 0x40], 0
jne 0x70227950
cmp word [ebx + 0x56], 0
je 0x70227950
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x49c], 0
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 1
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x28]
mov dword [ebx + 0x494], eax
test eax, eax
jne 0x70227950
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 0x10
mov eax, dword [ebx + 0x490]
test eax, eax
je 0x7022793b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0x2c]
xor ebx, ebx
add esp, 0x6c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret