Function at 0x4a0680
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 0x4a070b
cmp dword [ebp + 0xb4], 0
jne 0x4a070b
push edi
call fcn.004a6cc0
add esp, 4
mov dword [ebp + 0xac], eax
mov dword [ebp + 0xb4], 1
push 0
push 0x1e
push edi
call fcn.004a30b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a073b
push str.Truncated_ZIP_file_header
push 0x2a
push edi
call fcn.004a58c0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x7c
ret
cmp dword [esi], 0x4034b50
je 0x4a0760
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push edi
call fcn.004a58c0
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 0x4a07d0
push 1
push dword [esp + 0x98]
mov dword [ebp + 0x20], 1
call fcn.004a1e80
movzx eax, word [ebx + 0x56]
add esp, 8
test eax, 0x2000
je 0x4a07d0
test al, 1
je 0x4a07d0
test al, 0x40
je 0x4a07d0
mov eax, dword [esp + 0x94]
push 1
push eax
call fcn.004a1ea0
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.004a1090
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 0x4a081f
mov al, byte [esi + 0xb]
jmp 0x4a0822
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.004a3130
mov esi, dword [esp + 0x2c]
push 0
push esi
push edi
call fcn.004a30b0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4a071e
mov eax, 0x800
test word [ebx + 0x56], ax
je 0x4a0907
cmp dword [ebp + 0xb0], 0
jne 0x4a08ff
push 1
push str.UTF_8
push edi
call fcn.004a6bc0
add esp, 0xc
mov dword [ebp + 0xb0], eax
test eax, eax
je 0x4a072e
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xb0]
jmp 0x4a091b
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4a091f
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.004a1150
add esp, 0x10
test eax, eax
je 0x4a0980
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x4a095e
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
call fcn.004a58c0
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push dword [esp + 0x18]
call fcn.004a6b30
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004a58c0
add esp, 0x14
mov dword [esp + 0x14], 0xffffffec
push 0
push dword [esp + 0x24]
push edi
call fcn.004a3130
movzx ecx, word [ebx + 0x54]
add esp, 0xc
mov eax, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x4a09b1
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x54], cx
mov eax, 0xf000
test word [ebx + 0x54], ax
jne 0x4a0a63
push esi
call fcn.004a1ce0
mov edx, eax
add esp, 4
test edx, edx
je 0x4a09fb
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
jmp 0x4a09e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a09e0
sub ecx, dword [esp + 0x20]
sar ecx, 1
je 0x4a0a37
cmp word [edx + ecx*2 - 2], 0x2f
jmp 0x4a0a25
push esi
call fcn.004a1c40
mov edx, eax
add esp, 4
test edx, edx
je 0x4a0a37
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0a13
sub ecx, dword [esp + 0x20]
je 0x4a0a37
cmp byte [edx + ecx - 1], 0x2f
jne 0x4a0a37
mov ecx, 0x4000
mov edx, 0x8000
or word [ebx + 0x54], cx
jmp 0x4a0a45
mov edx, 0x8000
mov ecx, 0x4000
or word [ebx + 0x54], dx
movzx eax, word [ebx + 0x54]
cmp ax, cx
jne 0x4a0a55
mov eax, 0x41fd
jmp 0x4a0a5f
cmp ax, dx
jne 0x4a0a63
mov eax, 0x81b4
mov word [ebx + 0x54], ax
push 0
push dword [esp + 0x20]
push edi
call fcn.004a30b0
add esp, 0xc
test eax, eax
je 0x4a071e
push ebx
push dword [esp + 0x20]
push eax
call fcn.0049ebc0
push 0
push dword [esp + 0x2c]
push edi
call fcn.004a3130
add esp, 0x18
test byte [ebx + 0x5a], 2
je 0x4a0b6d
mov eax, 0xfff7
and word [ebx + 0x56], ax
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x4a0ab7
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x50], eax
jmp 0x4a0adb
cmp byte [ebp + 0x60], 0
jne 0x4a0adb
cmp eax, dword [esp + 0x74]
je 0x4a0adb
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.004a58c0
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 0x4a0af7
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x1c], eax
jmp 0x4a0b24
mov eax, dword [esp + 0x40]
cmp edx, dword [esp + 0x3c]
jne 0x4a0b05
cmp ecx, eax
je 0x4a0b24
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.004a58c0
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 0x4a0b40
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
jmp 0x4a0b6d
mov eax, dword [esp + 0x48]
cmp edx, dword [esp + 0x44]
jne 0x4a0b4e
cmp ecx, eax
je 0x4a0b6d
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.004a58c0
add esp, 0x1c
mov dword [esp + 0x14], 0xffffffec
movzx eax, word [ebx + 0x54]
push eax
push esi
call fcn.004a1ec0
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.004a2020
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.004a1e30
push 0
push dword [ebx + 0x44]
push esi
call fcn.004a1ee0
push 0
push dword [ebx + 0x4c]
push esi
call fcn.004a1d80
push 0
push dword [ebx + 0x48]
push esi
call fcn.004a1d30
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 0x4a0d2b
cmp dword [ebx + 0x1c], 0
jl 0x4a0bec
jg 0x4a0be2
cmp dword [ebx + 0x18], 0x10000
jbe 0x4a0bec
push str.Zip_file_with_oversized_link_entry
jmp 0x4a0748
mov eax, dword [ebx + 0x18]
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call fcn.004a1fb0
push 0
push dword [esp + 0x28]
push edi
call fcn.004a30b0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x4a0c20
push str.Truncated_Zip_file
jmp 0x4a0748
mov esi, dword [ebp + 0xa8]
test esi, esi
jne 0x4a0c48
mov eax, dword [ebp + 0x3c]
mov edx, 0x800
test word [eax + 0x56], dx
je 0x4a0c42
mov esi, dword [ebp + 0xb0]
test esi, esi
jne 0x4a0c48
mov esi, dword [ebp + 0xac]
mov eax, dword [esp + 0x94]
push esi
push dword [esp + 0x1c]
push ecx
push eax
call fcn.004a1160
add esp, 0x10
test eax, eax
je 0x4a0cec
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
je 0x4a0ca0
cmp esi, dword [ebp + 0xb0]
jne 0x4a0ca0
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
je 0x4a0ca0
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0xa0]
call fcn.004a1160
add esp, 0x10
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x4a0cb7
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x4a074a
cmp esi, dword [ebp + 0xb0]
jne 0x4a0ccd
mov eax, dword [ebp + 0x3c]
mov ecx, 0x800
test word [eax + 0x56], cx
jne 0x4a0cec
push esi
call fcn.004a6b30
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004a58c0
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.004a3130
add esp, 0xc
test edx, edx
jg 0x4a0d4e
jl 0x4a0d21
test eax, eax
jae 0x4a0d4e
push str.Read_error_skipping_symlink_target_name
jmp 0x4a0748
test byte [ebx + 0x56], 8
je 0x4a0d3f
cmp dword [ebx + 0x24], 0
jl 0x4a0d4e
jg 0x4a0d3f
cmp dword [ebx + 0x20], 0
jbe 0x4a0d4e
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.004a1fb0
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 0x4a0d70
test eax, eax
jg 0x4a0d70
jl 0x4a0d6c
cmp dword [ebp + 0x40], 1
jae 0x4a0d70
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.0049e6f0
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.004ac670
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