Function at 0x494b90
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 + 0x1e10], 0
mov dword [ebp + 0x60], eax
jne 0x494c1e
cmp dword [ebp + 0x1e1c], 0
jne 0x494c1e
push edi
call fcn.00496f20
add esp, 4
mov dword [ebp + 0x1e14], eax
mov dword [ebp + 0x1e1c], 1
push 0
push 0x1e
push edi
call fcn.00468650
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4955a6
cmp dword [ecx], 0x4034b50
je 0x494c4d
push str.Damaged_Zip_archive
push 0xffffffffffffffff
jmp 0x4955ad
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 0x494cbd
push 1
push esi
mov dword [ebp + 0x28], 1
call fcn.0046ac90
movzx eax, word [ebx + 0x66]
add esp, 8
mov dl, al
and eax, 0x2041
cmp eax, 0x2041
jne 0x494cb9
push 1
push esi
call fcn.0046acc0
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 + 0x1e24], dl
mov al, byte [ecx + 8]
mov byte [ebx + 0x68], al
lea eax, [ecx + 0xa]
push eax
call fcn.00495950
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 0x494d0f
mov al, byte [edx + 0xb]
jmp 0x494d12
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.00468670
push 0
push esi
push edi
call fcn.00468650
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4955a6
mov eax, 0x800
test word [ebx + 0x66], ax
je 0x494e3e
mov eax, dword [ebp + 0x1e18]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x494e38
push 1
push 0x6ae758
push edi
call fcn.00496e50
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [ebp + 0x1e18], eax
test eax, eax
je 0x4955b6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x494e56
mov eax, dword [ebp + 0x1e10]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x494e56
mov eax, dword [ebp + 0x1e14]
mov dword [esp + 0x10], eax
push eax
push esi
mov esi, dword [esp + 0xbc]
push ecx
push esi
call fcn.00469ed0
add esp, 0x10
test eax, eax
je 0x494ea6
call fcn.00688468
cmp dword [eax], 0xc
jne 0x494e83
push str.Cant_allocate_memory_for_Pathname
push 0xc
jmp 0x4955ad
mov eax, dword [esp + 0x10]
push eax
call fcn.00496dc0
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00469db0
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffec
push 0
push dword [esp + 0x34]
push edi
call fcn.00468670
push 0
push dword [esp + 0x24]
push edi
call fcn.00468650
add esp, 0x18
test eax, eax
je 0x4955a6
push ebx
push dword [esp + 0x18]
push eax
push esi
push edi
call fcn.00492650
add esp, 0x14
test eax, eax
jne 0x4955b6
push eax
push dword [esp + 0x18]
push edi
call fcn.00468670
movzx ecx, word [ebx + 0x64]
add esp, 0xc
mov eax, ecx
mov edx, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x494f16
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x64], cx
movzx edx, cx
test dx, dx
jne 0x494f24
mov eax, 0x1b4
mov word [ebx + 0x64], ax
cmp byte [ebx + 0x69], 0
jne 0x494ff6
push esi
call fcn.0046a8e0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x494ff6
push 0x2f
push eax
call fcn.0067df2a
add esp, 8
test eax, eax
jne 0x494ff6
push 0x5c
push dword [esp + 0x18]
call fcn.0067df2a
add esp, 8
test eax, eax
je 0x494ff6
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 0x494f91
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
sar ecx, 1
push ecx
push edx
push eax
call fcn.004990e0
mov edx, dword [esp + 0x30]
add esp, 0xc
xor ecx, ecx
test edx, edx
je 0x494fdf
lea edi, [ecx + 0x2f]
nop
mov eax, dword [esp + 0x20]
cmp word [eax + ecx*2], 0x5c
jne 0x494fd3
mov word [eax + ecx*2], di
mov edx, dword [esp + 0x24]
inc ecx
cmp ecx, edx
jb 0x494fc0
mov edi, dword [esp + 0xb0]
push dword [esp + 0x20]
push esi
call fcn.0046a5f0
lea eax, [esp + 0x28]
push eax
call fcn.00497060
add esp, 0xc
movzx eax, word [ebx + 0x64]
mov ecx, eax
and eax, 0xf000
cmp eax, 0x4000
je 0x4950b2
push esi
call fcn.0046a8e0
mov edx, eax
add esp, 4
test edx, edx
je 0x49505c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495024
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x495046
cmp word [edx + ecx*2 - 2], 0x2f
jne 0x495046
mov ecx, 1
jmp 0x495048
xor ecx, ecx
movzx eax, word [ebx + 0x64]
test ecx, ecx
je 0x49509c
and eax, 0xfff
or eax, 0x4049
jmp 0x4950ab
push esi
call fcn.0046a830
mov edx, eax
add esp, 4
test edx, edx
je 0x495098
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495074
sub ecx, dword [esp + 0x18]
je 0x495098
cmp byte [edx + ecx - 1], 0x2f
jne 0x495098
movzx eax, word [ebx + 0x64]
and eax, 0xfff
or eax, 0x4049
jmp 0x4950ab
movzx eax, word [ebx + 0x64]
movzx ecx, ax
test eax, 0xf000
jne 0x4950b2
or eax, 0x8000
movzx ecx, ax
mov word [ebx + 0x64], ax
and ecx, 0xf000
cmp ecx, 0x4000
jne 0x4951ba
push esi
call fcn.0046a8e0
mov edx, eax
add esp, 4
test edx, edx
je 0x495148
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 0x4950e0
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x4951ba
cmp word [edx + ecx*2 - 2], 0x2f
je 0x4951ba
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.00498d20
lea eax, [esp + 0x28]
push 0x2f
push eax
call fcn.00498cc0
push dword [esp + 0x30]
push esi
call fcn.0046a5f0
lea eax, [esp + 0x38]
push eax
call fcn.00497060
jmp 0x4951b7
push esi
call fcn.0046a830
mov edx, eax
add esp, 4
test edx, edx
je 0x4951ba
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495160
sub ecx, dword [esp + 0x18]
je 0x4951ba
cmp byte [edx + ecx - 1], 0x2f
je 0x4951ba
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.00496830
lea eax, [esp + 0x28]
push 0x2f
push eax
call fcn.004967e0
push dword [esp + 0x30]
push esi
call fcn.0046a5e0
lea eax, [esp + 0x38]
push eax
call fcn.00497060
add esp, 0x1c
test byte [ebx + 0x6a], 2
je 0x4952a2
mov eax, 0xfff7
and word [ebx + 0x66], ax
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x4951e0
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x60], eax
jmp 0x495207
cmp byte [ebp + 0x68], 0
jne 0x495207
cmp eax, dword [esp + 0x94]
je 0x495207
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.00469db0
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 0x495223
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
jmp 0x495250
mov eax, dword [esp + 0x50]
cmp edx, dword [esp + 0x4c]
jne 0x495231
cmp ecx, eax
je 0x495250
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.00469db0
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 0x495294
cmp edx, 0xffffffff
jne 0x495265
test ecx, ecx
je 0x495294
mov eax, dword [esp + 0x58]
cmp edx, dword [esp + 0x54]
jne 0x495273
cmp ecx, eax
je 0x4952a2
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.00469db0
add esp, 0x1c
mov dword [esp + 0x2c], 0xffffffec
jmp 0x4952a2
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.0046acf0
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.0046ae70
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.0046ac40
push 0
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push esi
call fcn.0046ad10
push 0
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push esi
call fcn.0046aa00
add esp, 0x40
push 0
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push esi
call fcn.0046a920
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 0x495519
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
jl 0x495334
jg 0x495328
cmp eax, 0x10000
jbe 0x495334
push str.Zip_file_with_oversized_link_entry
push 0xffffffffffffffff
jmp 0x4955ad
push 0
push 0
push esi
call fcn.0046ae30
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 0x4953e5
mov dword [esp + 0x14], 0
cmp al, 8
je 0x495387
cmp al, 0xe
jne 0x4953b6
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.00494300
jmp 0x4953a5
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.00493aa0
add esp, 0x10
test eax, eax
jne 0x4953b6
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
jmp 0x4953f7
mov eax, dword [ebp + 0x44]
movzx edx, byte [eax + 0x68]
push edx
call fcn.00491f30
push eax
push edx
push str.Unsupported_ZIP_compression_method_during_decompression_of_link_entry___d:__s_
push 0x2a
push edi
call fcn.00469db0
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.00468650
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, eax
test ecx, ecx
jne 0x495407
push str.Truncated_Zip_file
push 0xffffffffffffffff
jmp 0x4955ad
mov eax, dword [ebp + 0x1e10]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49543b
mov eax, dword [ebp + 0x44]
mov edx, 0x800
test word [eax + 0x66], dx
je 0x495431
mov eax, dword [ebp + 0x1e18]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49543b
mov eax, dword [ebp + 0x1e14]
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x14]
push ecx
push esi
call fcn.00469ee0
add esp, 0x10
test eax, eax
je 0x4954d8
call fcn.00688468
cmp dword [eax], 0xc
je 0x495489
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 0x1e18]
jne 0x495489
mov eax, dword [ebp + 0x44]
mov ecx, 0x800
test word [eax + 0x66], cx
je 0x495489
push 0
push dword [esp + 0x14]
push dword [esp + 0x38]
push esi
call fcn.00469ee0
add esp, 0x10
call fcn.00688468
cmp dword [eax], 0xc
jne 0x49549f
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x4955ad
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebp + 0x1e18]
jne 0x4954b9
mov eax, dword [ebp + 0x44]
mov edx, 0x800
test word [eax + 0x66], dx
jne 0x4954d8
push ecx
call fcn.00496dc0
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.00469db0
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.00468670
add esp, 0xc
test edx, edx
jg 0x49553c
jl 0x49550d
test eax, eax
jae 0x49553c
push str.Read_error_skipping_symlink_target_name
push 0xffffffffffffffff
jmp 0x4955ad
test byte [ebx + 0x66], 8
je 0x49552d
cmp dword [ebx + 0x24], 0
jl 0x49553c
jg 0x49552d
cmp dword [ebx + 0x20], 0
jbe 0x49553c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.0046ae30
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 0x49555d
test eax, eax
jg 0x49555d
jl 0x495559
cmp ecx, 1
jae 0x49555d
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.00491f30
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.0049f3e0
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.00469db0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x9c
ret