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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xb0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x537254
mov eax, 0
jmp 0x537855
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x537268
mov eax, 0
jmp 0x537855
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov dword [esp + 8], 0x2558
mov dword [esp + 4], 1
mov dword [esp], edx
call eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5372be
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x10
cmp dword [ebp - 0x30], 0
je 0x5372b4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x1c], edx
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
add eax, 0x40
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._mz_zip_reader_file_stat
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x537305
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x54]
movzx eax, ax
and eax, 0x61
test eax, eax
je 0x537354
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 5
cmp dword [ebp - 0x38], 0
je 0x537332
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp + 0x10]
and eax, 0x400
test eax, eax
jne 0x5373b7
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x56]
test ax, ax
je 0x5373b7
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x56]
cmp ax, 8
je 0x5373b7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 4
cmp dword [ebp - 0x40], 0
je 0x537395
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2550], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x498], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x49c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x4a0], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x44]
mov dword [esp + 0x10], 0x1e
mov esi, dword [ebp - 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1e
je 0x5374b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x14
cmp dword [ebp - 0x48], 0
je 0x537490
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 0xc]
add eax, 1
movzx eax, byte [eax]
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0xc]
add eax, 2
movzx eax, byte [eax]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 0xc]
add eax, 3
movzx eax, byte [eax]
movzx eax, al
shl eax, 0x18
or eax, edx
cmp eax, 0x4034b50
je 0x537533
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 9
cmp dword [ebp - 0x50], 0
je 0x537511
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0xc]
add ecx, 0x1a
movzx ecx, byte [ecx]
movzx ebx, cl
mov ecx, dword [ebp - 0xc]
add ecx, 0x1a
add ecx, 1
movzx ecx, byte [ecx]
movzx ecx, cl
shl ecx, 8
mov esi, ebx
or esi, ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x1c
movzx ecx, byte [ecx]
movzx ebx, cl
mov ecx, dword [ebp - 0xc]
add ecx, 0x1c
add ecx, 1
movzx ecx, byte [ecx]
movzx ecx, cl
shl ecx, 8
or ecx, ebx
add ecx, esi
add ecx, 0x1e
mov ebx, 0
add eax, ecx
adc edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
add ecx, eax
adc ebx, edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
mov eax, edx
sbb eax, ebx
jae 0x5375f9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 9
cmp dword [ebp - 0x58], 0
je 0x5375d7
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x537668
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x498], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
jmp 0x537788
mov eax, dword [ebp + 0x10]
and eax, 0x400
test eax, eax
je 0x53768a
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
jmp 0x537765
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x56]
test ax, ax
jne 0x5376ac
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
jmp 0x537765
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ebx, 0xffff
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jb 0x5376d9
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp 0x5376ea
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0x10000
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x498], edx
cmp dword [ebp - 0x20], 0
jne 0x537765
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 0x10
cmp dword [ebp - 0x60], 0
je 0x537743
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 0x10]
and eax, 0x400
test eax, eax
jne 0x537852
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x56]
test ax, ax
je 0x537852
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x4a4], 0
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 1
mov dword [esp], edx
call eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x49c], edx
cmp dword [ebp - 0x2c], 0
jne 0x537852
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0x10
cmp dword [ebp - 0x68], 0
je 0x537808
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x498]
test eax, eax
je 0x537833
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x498]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
jmp 0x537855
mov eax, dword [ebp - 0x14]
add esp, 0xb0
pop ebx
pop esi
pop ebp
ret