Function at 0x59b1a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x9c
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
mov ecx, 0x1e
push esi
push edi
push 0
mov ebx, dword [ebp + 0x44]
lea edi, [esp + 0x38]
mov eax, dword [ebp + 0x64]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov dword [esp + 0x38], 0
mov word [ebp + 0x69], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0
call eax
mov edi, dword [esp + 0xbc]
add esp, 0xc
cmp dword [ebp + 0x1e08], 0
mov dword [ebp + 0x60], eax
jne 0x59b22e
cmp dword [ebp + 0x1e14], 0
jne 0x59b22e
push edi
call fcn.005a4800
add esp, 4
mov dword [ebp + 0x1e0c], eax
mov dword [ebp + 0x1e14], 1
push 0
push 0x1e
push edi
call fcn.0059f200
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x59bbb6
cmp dword [ecx], 0x4034b50
je 0x59b25d
push str.Damaged_Zip_archive
push 0xffffffffffffffff
jmp 0x59bbbd
mov al, byte [ecx + 4]
mov esi, dword [esp + 0xb4]
mov byte [esp + 0x1f], al
movzx eax, byte [ecx + 5]
mov byte [ebx + 0x69], al
movzx edx, byte [ecx + 7]
movzx eax, byte [ecx + 6]
shl dx, 8
or dx, ax
mov word [ebx + 0x66], dx
test dl, 0x41
je 0x59b2cd
push 1
push esi
mov dword [ebp + 0x28], 1
call fcn.005a2cc0
movzx eax, word [ebx + 0x66]
add esp, 8
mov dl, al
and eax, 0x2041
cmp eax, 0x2041
jne 0x59b2c9
push 1
push esi
call fcn.005a2cf0
add esp, 8
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov ecx, dword [esp + 0x10]
and dl, 1
mov byte [ebp + 0x1e1c], dl
mov al, byte [ecx + 8]
mov byte [ebx + 0x68], al
lea eax, [ecx + 0xa]
push eax
call fcn.0059bf60
mov dword [ebx + 0x4c], edx
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x48], eax
movzx ecx, byte [edx + 0x11]
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
test byte [ebx + 0x66], 8
mov dword [ebx + 0x60], ecx
je 0x59b31f
mov al, byte [edx + 0xb]
jmp 0x59b322
mov al, byte [edx + 0x11]
mov byte [ebx + 0x6b], al
movzx eax, byte [edx + 0x15]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
push 0
shl ecx, 8
movzx eax, byte [eax + 0x14]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x14]
shld esi, ecx, 8
push 0x1e
shl ecx, 8
movzx eax, byte [eax + 0x13]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x18]
shld esi, ecx, 8
push edi
shl ecx, 8
movzx eax, byte [eax + 0x12]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], esi
movzx eax, byte [eax + 0x19]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x1c]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x18]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x1c]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x17]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x1c]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x16]
cdq
or ecx, eax
or esi, edx
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x24], esi
movzx esi, byte [ecx + 0x1b]
movzx eax, byte [ecx + 0x1a]
movzx edx, byte [ecx + 0x1d]
shl esi, 8
or esi, eax
shl edx, 8
movzx eax, byte [ecx + 0x1c]
or edx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], edx
call fcn.0059f220
push 0
push esi
push edi
call fcn.0059f200
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x59bbb6
mov eax, 0x800
test word [ebx + 0x66], ax
je 0x59b44e
mov eax, dword [ebp + 0x1e10]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x59b448
push 1
push 0x6573bc
push edi
call fcn.005a4700
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [ebp + 0x1e10], eax
test eax, eax
je 0x59bbc6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x59b466
mov eax, dword [ebp + 0x1e08]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x59b466
mov eax, dword [ebp + 0x1e0c]
mov dword [esp + 0x10], eax
push eax
push esi
mov esi, dword [esp + 0xbc]
push ecx
push esi
call fcn.005a1dd0
add esp, 0x10
test eax, eax
je 0x59b4b6
call fcn.005360ed
cmp dword [eax], 0xc
jne 0x59b493
push str.Cant_allocate_memory_for_Pathname
push 0xc
jmp 0x59bbbd
mov eax, dword [esp + 0x10]
push eax
call fcn.005a4670
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.005a36b0
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffec
push 0
push dword [esp + 0x34]
push edi
call fcn.0059f220
push 0
push dword [esp + 0x24]
push edi
call fcn.0059f200
add esp, 0x18
test eax, eax
je 0x59bbb6
push ebx
push dword [esp + 0x18]
push eax
push esi
push edi
call fcn.00599090
add esp, 0x14
test eax, eax
jne 0x59bbc6
push eax
push dword [esp + 0x18]
push edi
call fcn.0059f220
movzx ecx, word [ebx + 0x64]
add esp, 0xc
mov eax, ecx
mov edx, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x59b526
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x64], cx
movzx edx, cx
test dx, dx
jne 0x59b534
mov eax, 0x1b4
mov word [ebx + 0x64], ax
cmp byte [ebx + 0x69], 0
jne 0x59b606
push esi
call fcn.005a2a10
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x59b606
push 0x2f
push eax
call fcn.0054425b
add esp, 8
test eax, eax
jne 0x59b606
push 0x5c
push dword [esp + 0x18]
call fcn.0054425b
add esp, 8
test eax, eax
je 0x59b606
mov edx, dword [esp + 0x14]
mov ecx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59b5a1
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
sar ecx, 1
push ecx
push edx
push eax
call fcn.005a6a90
mov edx, dword [esp + 0x30]
add esp, 0xc
xor ecx, ecx
test edx, edx
je 0x59b5ef
lea esi, [ecx + 0x2f]
nop
mov eax, dword [esp + 0x20]
cmp word [eax + ecx*2], 0x5c
jne 0x59b5e3
mov word [eax + ecx*2], si
mov edx, dword [esp + 0x24]
inc ecx
cmp ecx, edx
jb 0x59b5d0
mov esi, dword [esp + 0xb4]
push dword [esp + 0x20]
push esi
call fcn.005a23e0
lea eax, [esp + 0x28]
push eax
call fcn.005a49b0
add esp, 0xc
movzx eax, word [ebx + 0x64]
mov ecx, eax
and eax, 0xf000
cmp eax, 0x4000
je 0x59b6c2
push esi
call fcn.005a2a10
mov edx, eax
add esp, 4
test edx, edx
je 0x59b66c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59b634
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x59b656
cmp word [edx + ecx*2 - 2], 0x2f
jne 0x59b656
mov ecx, 1
jmp 0x59b658
xor ecx, ecx
movzx eax, word [ebx + 0x64]
test ecx, ecx
je 0x59b6ac
and eax, 0xfff
or eax, 0x4049
jmp 0x59b6bb
push esi
call fcn.005a2960
mov edx, eax
add esp, 4
test edx, edx
je 0x59b6a8
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x59b684
sub ecx, dword [esp + 0x18]
je 0x59b6a8
cmp byte [edx + ecx - 1], 0x2f
jne 0x59b6a8
movzx eax, word [ebx + 0x64]
and eax, 0xfff
or eax, 0x4049
jmp 0x59b6bb
movzx eax, word [ebx + 0x64]
movzx ecx, ax
test eax, 0xf000
jne 0x59b6c2
or eax, 0x8000
movzx ecx, ax
mov word [ebx + 0x64], ax
and ecx, 0xf000
cmp ecx, 0x4000
jne 0x59b7ca
push esi
call fcn.005a2a10
mov edx, eax
add esp, 4
test edx, edx
je 0x59b758
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59b6f0
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x59b7ca
cmp word [edx + ecx*2 - 2], 0x2f
je 0x59b7ca
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005a6730
lea eax, [esp + 0x28]
push 0x2f
push eax
call fcn.005a66d0
push dword [esp + 0x30]
push esi
call fcn.005a23e0
lea eax, [esp + 0x38]
push eax
call fcn.005a49b0
jmp 0x59b7c7
push esi
call fcn.005a2960
mov edx, eax
add esp, 4
test edx, edx
je 0x59b7ca
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x59b770
sub ecx, dword [esp + 0x18]
je 0x59b7ca
cmp byte [edx + ecx - 1], 0x2f
je 0x59b7ca
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005a40d0
lea eax, [esp + 0x28]
push 0x2f
push eax
call fcn.005a4080
push dword [esp + 0x30]
push esi
call fcn.005a23d0
lea eax, [esp + 0x38]
push eax
call fcn.005a49b0
add esp, 0x1c
test byte [ebx + 0x6a], 2
je 0x59b8b2
mov eax, 0xfff7
and word [ebx + 0x66], ax
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x59b7f0
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x60], eax
jmp 0x59b817
cmp byte [ebp + 0x68], 0
jne 0x59b817
cmp eax, dword [esp + 0x94]
je 0x59b817
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.005a36b0
add esp, 0xc
mov dword [esp + 0x2c], 0xffffffec
mov edx, dword [ebx + 0x18]
mov eax, edx
mov ecx, dword [ebx + 0x1c]
or eax, ecx
jne 0x59b833
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
jmp 0x59b860
mov eax, dword [esp + 0x50]
cmp edx, dword [esp + 0x4c]
jne 0x59b841
cmp ecx, eax
je 0x59b860
push ecx
push edx
push eax
push dword [esp + 0x58]
push str.Inconsistent_compressed_size:__jd_in_central_directory___jd_in_local_header
push 0x2a
push edi
call fcn.005a36b0
add esp, 0x1c
mov dword [esp + 0x2c], 0xffffffec
mov edx, dword [ebx + 0x20]
mov eax, edx
mov ecx, dword [ebx + 0x24]
or eax, ecx
je 0x59b8a4
cmp edx, 0xffffffff
jne 0x59b875
test ecx, ecx
je 0x59b8a4
mov eax, dword [esp + 0x58]
cmp edx, dword [esp + 0x54]
jne 0x59b883
cmp ecx, eax
je 0x59b8b2
push ecx
push edx
push eax
push dword [esp + 0x60]
push str.Inconsistent_uncompressed_size:__jd_in_central_directory___jd_in_local_header
push 0x2a
push edi
call fcn.005a36b0
add esp, 0x1c
mov dword [esp + 0x2c], 0xffffffec
jmp 0x59b8b2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
movzx eax, word [ebx + 0x64]
push eax
push esi
call fcn.005a2d20
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.005a2e90
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.005a2c20
push 0
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push esi
call fcn.005a2d40
push 0
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push esi
call fcn.005a2b50
add esp, 0x40
push 0
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push esi
call fcn.005a2ae0
mov eax, dword [ebp + 0x44]
mov ecx, 0xf000
add esp, 0x10
mov ax, word [eax + 0x64]
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x59bb29
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
jl 0x59b944
jg 0x59b938
cmp eax, 0x10000
jbe 0x59b944
push str.Zip_file_with_oversized_link_entry
push 0xffffffffffffffff
jmp 0x59bbbd
push 0
push 0
push esi
call fcn.005a2e20
mov eax, dword [ebp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov al, byte [eax + 0x68]
test al, al
je 0x59b9f5
mov dword [esp + 0x14], 0
cmp al, 8
je 0x59b997
cmp al, 0xe
jne 0x59b9c6
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + 0x48], eax
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x1c]
mov dword [ebp + 0x4c], ecx
push eax
push edi
call fcn.0059ad50
jmp 0x59b9b5
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + 0x48], eax
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x1c]
mov dword [ebp + 0x4c], ecx
push eax
push edi
call fcn.0059a500
add esp, 0x10
test eax, eax
jne 0x59b9c6
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
jmp 0x59ba07
mov eax, dword [ebp + 0x44]
movzx edx, byte [eax + 0x68]
push edx
call fcn.005989f0
push eax
push edx
push str.Unsupported_ZIP_compression_method_during_decompression_of_link_entry___d:__s_
push 0x2a
push edi
call fcn.005a36b0
add esp, 0x18
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
push 0
push ecx
push edi
call fcn.0059f200
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, eax
test ecx, ecx
jne 0x59ba17
push str.Truncated_Zip_file
push 0xffffffffffffffff
jmp 0x59bbbd
mov eax, dword [ebp + 0x1e08]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x59ba4b
mov eax, dword [ebp + 0x44]
mov edx, 0x800
test word [eax + 0x66], dx
je 0x59ba41
mov eax, dword [ebp + 0x1e10]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x59ba4b
mov eax, dword [ebp + 0x1e0c]
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x14]
push ecx
push esi
call fcn.005a1de0
add esp, 0x10
test eax, eax
je 0x59bae8
call fcn.005360ed
cmp dword [eax], 0xc
je 0x59ba99
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 0x1e10]
jne 0x59ba99
mov eax, dword [ebp + 0x44]
mov ecx, 0x800
test word [eax + 0x66], cx
je 0x59ba99
push 0
push dword [esp + 0x14]
push dword [esp + 0x38]
push esi
call fcn.005a1de0
add esp, 0x10
call fcn.005360ed
cmp dword [eax], 0xc
jne 0x59baaf
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x59bbbd
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebp + 0x1e10]
jne 0x59bac9
mov eax, dword [ebp + 0x44]
mov edx, 0x800
test word [eax + 0x66], dx
jne 0x59bae8
push ecx
call fcn.005a4670
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.005a36b0
add esp, 0x14
mov dword [esp + 0x2c], 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.0059f220
add esp, 0xc
test edx, edx
jg 0x59bb4c
jl 0x59bb1d
test eax, eax
jae 0x59bb4c
push str.Read_error_skipping_symlink_target_name
push 0xffffffffffffffff
jmp 0x59bbbd
test byte [ebx + 0x66], 8
je 0x59bb3d
cmp dword [ebx + 0x24], 0
jl 0x59bb4c
jg 0x59bb3d
cmp dword [ebx + 0x20], 0
jbe 0x59bb4c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.005a2e20
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x4c], eax
test byte [ebx + 0x66], 8
jne 0x59bb6d
test eax, eax
jg 0x59bb6d
jl 0x59bb69
cmp ecx, 1
jae 0x59bb6d
mov byte [ebp + 0x6a], 1
movsx eax, byte [esp + 0x1f]
mov ecx, 0xa
cdq
idiv ecx
mov dword [ebp + 4], 0
mov esi, eax
mov eax, dword [ebp + 0x44]
movzx eax, byte [eax + 0x68]
push eax
call fcn.005989f0
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.005a87c0
mov ecx, dword [ebp]
add esp, 0x18
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
push str.Truncated_ZIP_file_header
push 0x2a
push edi
call fcn.005a36b0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x9c
ret