Function at 0x58b8e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [esp + 0x90]
mov ecx, 0x1a
push esi
push edi
push 0
mov ebx, dword [ebp + 0x3c]
lea edi, [esp + 0x28]
mov eax, dword [ebp + 0x5c]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov dword [esp + 0x20], 0
mov word [ebp + 0x61], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0
call eax
mov edi, dword [esp + 0x9c]
add esp, 0xc
cmp dword [ebp + 0xa8], 0
mov dword [ebp + 0x58], eax
jne 0x58b96b
cmp dword [ebp + 0xb4], 0
jne 0x58b96b
push edi
call fcn.00591f20
add esp, 4
mov dword [ebp + 0xac], eax
mov dword [ebp + 0xb4], 1
push 0
push 0x1e
push edi
call fcn.0058e310
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x58b99b
push str.Truncated_ZIP_file_header
push 0x2a
push edi
call fcn.00590b20
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x7c
ret
cmp dword [esi], 0x4034b50
je 0x58b9c0
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push edi
call fcn.00590b20
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov al, byte [esi + 4]
mov byte [esp + 0x13], al
movzx eax, byte [esi + 5]
mov byte [ebx + 0x59], al
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl cx, 8
or cx, ax
mov word [ebx + 0x56], cx
test cl, 0x41
je 0x58ba30
push 1
push dword [esp + 0x98]
mov dword [ebp + 0x20], 1
call fcn.0058d0e0
movzx eax, word [ebx + 0x56]
add esp, 8
test eax, 0x2000
je 0x58ba30
test al, 1
je 0x58ba30
test al, 0x40
je 0x58ba30
mov eax, dword [esp + 0x94]
push 1
push eax
call fcn.0058d100
add esp, 8
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
movzx eax, byte [ebx + 0x56]
and al, 1
mov byte [ebp + 0xbc], al
movzx eax, byte [esi + 8]
mov byte [ebx + 0x58], al
lea eax, [esi + 0xa]
push eax
call fcn.0058c2f0
mov dword [ebx + 0x44], eax
add esp, 4
movzx ecx, byte [esi + 0x11]
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
test byte [ebx + 0x56], 8
mov dword [ebx + 0x50], ecx
je 0x58ba7f
mov al, byte [esi + 0xb]
jmp 0x58ba82
mov al, byte [esi + 0x11]
mov byte [ebx + 0x5b], al
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], ecx
movzx ecx, byte [esi + 0x19]
movzx eax, byte [esi + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], ecx
movzx eax, byte [esi + 0x1b]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esi + 0x1a]
or ecx, eax
movzx eax, byte [esi + 0x1d]
shl ax, 8
mov dword [esp + 0x20], ecx
movzx ecx, ax
movzx eax, byte [esi + 0x1c]
push 0
or ecx, eax
push 0x1e
push edi
mov dword [esp + 0x28], ecx
call fcn.0058e390
mov esi, dword [esp + 0x2c]
push 0
push esi
push edi
call fcn.0058e310
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x58b97e
mov eax, 0x800
test word [ebx + 0x56], ax
je 0x58bb67
cmp dword [ebp + 0xb0], 0
jne 0x58bb5f
push 1
push str.UTF_8
push edi
call fcn.00591e20
add esp, 0xc
mov dword [ebp + 0xb0], eax
test eax, eax
je 0x58b98e
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xb0]
jmp 0x58bb7b
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x58bb7f
mov eax, dword [ebp + 0xac]
mov dword [esp + 0x18], eax
push eax
push esi
mov esi, dword [esp + 0x9c]
push ecx
push esi
call fcn.0058c3b0
add esp, 0x10
test eax, eax
je 0x58bbe0
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x58bbbe
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
call fcn.00590b20
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push dword [esp + 0x18]
call fcn.00591d90
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00590b20
add esp, 0x14
mov dword [esp + 0x14], 0xffffffec
push 0
push dword [esp + 0x24]
push edi
call fcn.0058e390
movzx ecx, word [ebx + 0x54]
add esp, 0xc
mov eax, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x58bc11
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x54], cx
mov eax, 0xf000
test word [ebx + 0x54], ax
jne 0x58bcc3
push esi
call fcn.0058cf40
mov edx, eax
add esp, 4
test edx, edx
je 0x58bc5b
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
jmp 0x58bc40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x58bc40
sub ecx, dword [esp + 0x20]
sar ecx, 1
je 0x58bc97
cmp word [edx + ecx*2 - 2], 0x2f
jmp 0x58bc85
push esi
call fcn.0058cea0
mov edx, eax
add esp, 4
test edx, edx
je 0x58bc97
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58bc73
sub ecx, dword [esp + 0x20]
je 0x58bc97
cmp byte [edx + ecx - 1], 0x2f
jne 0x58bc97
mov ecx, 0x4000
mov edx, 0x8000
or word [ebx + 0x54], cx
jmp 0x58bca5
mov edx, 0x8000
mov ecx, 0x4000
or word [ebx + 0x54], dx
movzx eax, word [ebx + 0x54]
cmp ax, cx
jne 0x58bcb5
mov eax, 0x41fd
jmp 0x58bcbf
cmp ax, dx
jne 0x58bcc3
mov eax, 0x81b4
mov word [ebx + 0x54], ax
push 0
push dword [esp + 0x20]
push edi
call fcn.0058e310
add esp, 0xc
test eax, eax
je 0x58b97e
push ebx
push dword [esp + 0x20]
push eax
call fcn.00589e20
push 0
push dword [esp + 0x2c]
push edi
call fcn.0058e390
add esp, 0x18
test byte [ebx + 0x5a], 2
je 0x58bdcd
mov eax, 0xfff7
and word [ebx + 0x56], ax
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x58bd17
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x50], eax
jmp 0x58bd3b
cmp byte [ebp + 0x60], 0
jne 0x58bd3b
cmp eax, dword [esp + 0x74]
je 0x58bd3b
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.00590b20
add esp, 0xc
mov dword [esp + 0x14], 0xffffffec
mov edx, dword [ebx + 0x18]
mov eax, edx
mov ecx, dword [ebx + 0x1c]
or eax, ecx
jne 0x58bd57
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x1c], eax
jmp 0x58bd84
mov eax, dword [esp + 0x40]
cmp edx, dword [esp + 0x3c]
jne 0x58bd65
cmp ecx, eax
je 0x58bd84
push ecx
push edx
push eax
push dword [esp + 0x48]
push str.Inconsistent_compressed_size:__jd_in_central_directory___jd_in_local_header
push 0x2a
push edi
call fcn.00590b20
add esp, 0x1c
mov dword [esp + 0x14], 0xffffffec
mov edx, dword [ebx + 0x20]
mov eax, edx
mov ecx, dword [ebx + 0x24]
or eax, ecx
jne 0x58bda0
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
jmp 0x58bdcd
mov eax, dword [esp + 0x48]
cmp edx, dword [esp + 0x44]
jne 0x58bdae
cmp ecx, eax
je 0x58bdcd
push ecx
push edx
push eax
push dword [esp + 0x50]
push str.Inconsistent_uncompressed_size:__jd_in_central_directory___jd_in_local_header
push 0x2a
push edi
call fcn.00590b20
add esp, 0x1c
mov dword [esp + 0x14], 0xffffffec
movzx eax, word [ebx + 0x54]
push eax
push esi
call fcn.0058d120
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.0058d280
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.0058d090
push 0
push dword [ebx + 0x44]
push esi
call fcn.0058d140
push 0
push dword [ebx + 0x4c]
push esi
call fcn.0058cfe0
push 0
push dword [ebx + 0x48]
push esi
call fcn.0058cf90
mov eax, dword [ebp + 0x3c]
mov ecx, 0xf000
add esp, 0x44
mov ax, word [eax + 0x54]
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x58bf8b
cmp dword [ebx + 0x1c], 0
jl 0x58be4c
jg 0x58be42
cmp dword [ebx + 0x18], 0x10000
jbe 0x58be4c
push str.Zip_file_with_oversized_link_entry
jmp 0x58b9a8
mov eax, dword [ebx + 0x18]
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call fcn.0058d210
push 0
push dword [esp + 0x28]
push edi
call fcn.0058e310
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x58be80
push str.Truncated_Zip_file
jmp 0x58b9a8
mov esi, dword [ebp + 0xa8]
test esi, esi
jne 0x58bea8
mov eax, dword [ebp + 0x3c]
mov edx, 0x800
test word [eax + 0x56], dx
je 0x58bea2
mov esi, dword [ebp + 0xb0]
test esi, esi
jne 0x58bea8
mov esi, dword [ebp + 0xac]
mov eax, dword [esp + 0x94]
push esi
push dword [esp + 0x1c]
push ecx
push eax
call fcn.0058c3c0
add esp, 0x10
test eax, eax
je 0x58bf4c
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
je 0x58bf00
cmp esi, dword [ebp + 0xb0]
jne 0x58bf00
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
je 0x58bf00
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0xa0]
call fcn.0058c3c0
add esp, 0x10
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x58bf17
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x58b9aa
cmp esi, dword [ebp + 0xb0]
jne 0x58bf2d
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
jne 0x58bf4c
push esi
call fcn.00591d90
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00590b20
add esp, 0x14
mov dword [esp + 0x14], 0xffffffec
push 0
push dword [esp + 0x1c]
mov dword [ebx + 0x18], 0
push edi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
call fcn.0058e390
add esp, 0xc
test edx, edx
jg 0x58bfae
jl 0x58bf81
test eax, eax
jae 0x58bfae
push str.Read_error_skipping_symlink_target_name
jmp 0x58b9a8
test byte [ebx + 0x56], 8
je 0x58bf9f
cmp dword [ebx + 0x24], 0
jl 0x58bfae
jg 0x58bf9f
cmp dword [ebx + 0x20], 0
jbe 0x58bfae
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.0058d210
add esp, 0xc
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0x40], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x44], eax
test byte [ebx + 0x56], 8
jne 0x58bfd0
test eax, eax
jg 0x58bfd0
jl 0x58bfcc
cmp dword [ebp + 0x40], 1
jae 0x58bfd0
mov byte [ebp + 0x62], 1
movsx eax, byte [esp + 0x13]
mov ecx, 0xa
cdq
idiv ecx
mov esi, eax
mov eax, dword [ebp + 0x3c]
movzx eax, byte [eax + 0x58]
push eax
call fcn.00589950
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.005978d0
mov ecx, dword [ebp]
add esp, 0x18
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret