Function at 0x565110
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 0x56519b
cmp dword [ebp + 0xb4], 0
jne 0x56519b
push edi
call fcn.0056b750
add esp, 4
mov dword [ebp + 0xac], eax
mov dword [ebp + 0xb4], 1
push 0
push 0x1e
push edi
call fcn.00567b40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5651cb
push str.Truncated_ZIP_file_header
push 0x2a
push edi
call fcn.0056a350
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x7c
ret
cmp dword [esi], 0x4034b50
je 0x5651f0
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push edi
call fcn.0056a350
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 0x565260
push 1
push dword [esp + 0x98]
mov dword [ebp + 0x20], 1
call fcn.00566910
movzx eax, word [ebx + 0x56]
add esp, 8
test eax, 0x2000
je 0x565260
test al, 1
je 0x565260
test al, 0x40
je 0x565260
mov eax, dword [esp + 0x94]
push 1
push eax
call fcn.00566930
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.00565b20
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 0x5652af
mov al, byte [esi + 0xb]
jmp 0x5652b2
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.00567bc0
mov esi, dword [esp + 0x2c]
push 0
push esi
push edi
call fcn.00567b40
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x5651ae
mov eax, 0x800
test word [ebx + 0x56], ax
je 0x565397
cmp dword [ebp + 0xb0], 0
jne 0x56538f
push 1
push str.UTF_8
push edi
call fcn.0056b650
add esp, 0xc
mov dword [ebp + 0xb0], eax
test eax, eax
je 0x5651be
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xb0]
jmp 0x5653ab
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5653af
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.00565be0
add esp, 0x10
test eax, eax
je 0x565410
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x5653ee
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
call fcn.0056a350
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push dword [esp + 0x18]
call fcn.0056b5c0
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.0056a350
add esp, 0x14
mov dword [esp + 0x14], 0xffffffec
push 0
push dword [esp + 0x24]
push edi
call fcn.00567bc0
movzx ecx, word [ebx + 0x54]
add esp, 0xc
mov eax, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x565441
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x54], cx
mov eax, 0xf000
test word [ebx + 0x54], ax
jne 0x5654f3
push esi
call fcn.00566770
mov edx, eax
add esp, 4
test edx, edx
je 0x56548b
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
jmp 0x565470
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x565470
sub ecx, dword [esp + 0x20]
sar ecx, 1
je 0x5654c7
cmp word [edx + ecx*2 - 2], 0x2f
jmp 0x5654b5
push esi
call fcn.005666d0
mov edx, eax
add esp, 4
test edx, edx
je 0x5654c7
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5654a3
sub ecx, dword [esp + 0x20]
je 0x5654c7
cmp byte [edx + ecx - 1], 0x2f
jne 0x5654c7
mov ecx, 0x4000
mov edx, 0x8000
or word [ebx + 0x54], cx
jmp 0x5654d5
mov edx, 0x8000
mov ecx, 0x4000
or word [ebx + 0x54], dx
movzx eax, word [ebx + 0x54]
cmp ax, cx
jne 0x5654e5
mov eax, 0x41fd
jmp 0x5654ef
cmp ax, dx
jne 0x5654f3
mov eax, 0x81b4
mov word [ebx + 0x54], ax
push 0
push dword [esp + 0x20]
push edi
call fcn.00567b40
add esp, 0xc
test eax, eax
je 0x5651ae
push ebx
push dword [esp + 0x20]
push eax
call fcn.00563650
push 0
push dword [esp + 0x2c]
push edi
call fcn.00567bc0
add esp, 0x18
test byte [ebx + 0x5a], 2
je 0x5655fd
mov eax, 0xfff7
and word [ebx + 0x56], ax
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x565547
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x50], eax
jmp 0x56556b
cmp byte [ebp + 0x60], 0
jne 0x56556b
cmp eax, dword [esp + 0x74]
je 0x56556b
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.0056a350
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 0x565587
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x1c], eax
jmp 0x5655b4
mov eax, dword [esp + 0x40]
cmp edx, dword [esp + 0x3c]
jne 0x565595
cmp ecx, eax
je 0x5655b4
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.0056a350
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 0x5655d0
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
jmp 0x5655fd
mov eax, dword [esp + 0x48]
cmp edx, dword [esp + 0x44]
jne 0x5655de
cmp ecx, eax
je 0x5655fd
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.0056a350
add esp, 0x1c
mov dword [esp + 0x14], 0xffffffec
movzx eax, word [ebx + 0x54]
push eax
push esi
call fcn.00566950
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.00566ab0
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.005668c0
push 0
push dword [ebx + 0x44]
push esi
call fcn.00566970
push 0
push dword [ebx + 0x4c]
push esi
call fcn.00566810
push 0
push dword [ebx + 0x48]
push esi
call fcn.005667c0
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 0x5657bb
cmp dword [ebx + 0x1c], 0
jl 0x56567c
jg 0x565672
cmp dword [ebx + 0x18], 0x10000
jbe 0x56567c
push str.Zip_file_with_oversized_link_entry
jmp 0x5651d8
mov eax, dword [ebx + 0x18]
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call fcn.00566a40
push 0
push dword [esp + 0x28]
push edi
call fcn.00567b40
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x5656b0
push str.Truncated_Zip_file
jmp 0x5651d8
mov esi, dword [ebp + 0xa8]
test esi, esi
jne 0x5656d8
mov eax, dword [ebp + 0x3c]
mov edx, 0x800
test word [eax + 0x56], dx
je 0x5656d2
mov esi, dword [ebp + 0xb0]
test esi, esi
jne 0x5656d8
mov esi, dword [ebp + 0xac]
mov eax, dword [esp + 0x94]
push esi
push dword [esp + 0x1c]
push ecx
push eax
call fcn.00565bf0
add esp, 0x10
test eax, eax
je 0x56577c
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
je 0x565730
cmp esi, dword [ebp + 0xb0]
jne 0x565730
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
je 0x565730
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0xa0]
call fcn.00565bf0
add esp, 0x10
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x565747
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x5651da
cmp esi, dword [ebp + 0xb0]
jne 0x56575d
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
jne 0x56577c
push esi
call fcn.0056b5c0
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.0056a350
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.00567bc0
add esp, 0xc
test edx, edx
jg 0x5657de
jl 0x5657b1
test eax, eax
jae 0x5657de
push str.Read_error_skipping_symlink_target_name
jmp 0x5651d8
test byte [ebx + 0x56], 8
je 0x5657cf
cmp dword [ebx + 0x24], 0
jl 0x5657de
jg 0x5657cf
cmp dword [ebx + 0x20], 0
jbe 0x5657de
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.00566a40
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 0x565800
test eax, eax
jg 0x565800
jl 0x5657fc
cmp dword [ebp + 0x40], 1
jae 0x565800
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.00563180
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.00571100
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