Function at 0x4a9760
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
mov ecx, 0x1a
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 + 0x3c], 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 + 0xac]
add esp, 0xc
cmp dword [ebp + 0x1e08], 0
mov dword [ebp + 0x60], eax
jne 0x4a97ee
cmp dword [ebp + 0x1e14], 0
jne 0x4a97ee
push edi
call fcn.004b12e0
add esp, 4
mov dword [ebp + 0x1e0c], eax
mov dword [ebp + 0x1e14], 1
push 0
push 0x1e
push edi
call fcn.004ad8a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a9821
push str.Truncated_ZIP_file_header
push 0x2a
push edi
call fcn.004afe10
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0xffffffe2
pop ebx
add esp, 0x8c
ret
cmp dword [esi], 0x4034b50
je 0x4a9849
push str.Damaged_Zip_archive
push 0xffffffffffffffff
push edi
call fcn.004afe10
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
mov al, byte [esi + 4]
mov byte [esp + 0x23], 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 0x4a98bc
push 1
push dword [esp + 0xa8]
mov dword [ebp + 0x28], 1
call fcn.004abe70
movzx eax, word [ebx + 0x56]
add esp, 8
test eax, 0x2000
je 0x4a98bc
test al, 1
je 0x4a98bc
test al, 0x40
je 0x4a98bc
mov eax, dword [esp + 0xa4]
push 1
push eax
call fcn.004abe90
add esp, 8
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
movzx eax, byte [ebx + 0x56]
and al, 1
mov byte [ebp + 0x1e1c], al
movzx eax, byte [esi + 8]
mov byte [ebx + 0x58], al
lea eax, [esi + 0xa]
push eax
call fcn.004aa480
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 0x4a990b
mov al, byte [esi + 0xb]
jmp 0x4a990e
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 + 0x18], 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.004ad8c0
mov esi, dword [esp + 0x24]
push 0
push esi
push edi
call fcn.004ad8a0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4a9801
mov eax, 0x800
test word [ebx + 0x56], ax
je 0x4a99f3
cmp dword [ebp + 0x1e10], 0
jne 0x4a99eb
push 1
push 0x52e2e0
push edi
call fcn.004b11e0
add esp, 0xc
mov dword [ebp + 0x1e10], eax
test eax, eax
je 0x4a9811
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1e10]
jmp 0x4a9a07
mov eax, dword [ebp + 0x1e08]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a9a0b
mov eax, dword [ebp + 0x1e0c]
mov dword [esp + 0x14], eax
push eax
push esi
mov esi, dword [esp + 0xac]
push ecx
push esi
call fcn.004aaa30
add esp, 0x10
test eax, eax
je 0x4a9a6f
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x4a9a4d
push str.Cant_allocate_memory_for_Pathname
push 0xc
push edi
call fcn.004afe10
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
push dword [esp + 0x14]
call fcn.004b1150
push eax
push str.Pathname_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004afe10
add esp, 0x14
mov dword [esp + 0x30], 0xffffffec
push 0
push dword [esp + 0x1c]
push edi
call fcn.004ad8c0
push 0
push dword [esp + 0x2c]
push edi
call fcn.004ad8a0
add esp, 0x18
test eax, eax
je 0x4a9801
push ebx
push dword [esp + 0x20]
push eax
push esi
push edi
call fcn.004a7430
add esp, 0x14
test eax, eax
jne 0x4a9811
push eax
push dword [esp + 0x20]
push edi
call fcn.004ad8c0
movzx ecx, word [ebx + 0x54]
add esp, 0xc
mov eax, ecx
and eax, 0xf000
cmp eax, 0x1000
jne 0x4a9ada
and ecx, 0xfff
or ecx, 0x8000
mov word [ebx + 0x54], cx
cmp word [ebx + 0x54], 0
jne 0x4a9aea
mov eax, 0x1b4
mov word [ebx + 0x54], ax
cmp byte [ebx + 0x59], 0
jne 0x4a9bc6
push esi
call fcn.004abac0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a9bc6
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
test eax, eax
jne 0x4a9bc6
push 0x5c
push dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
test eax, eax
je 0x4a9bc6
mov edx, dword [esp + 0x18]
mov ecx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9b60
sub ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
sar ecx, 1
push ecx
push edx
push eax
call fcn.004b3540
mov edx, dword [esp + 0x34]
add esp, 0xc
xor ecx, ecx
test edx, edx
je 0x4a9baf
lea edi, [ecx + 0x2f]
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
cmp word [eax + ecx*2], 0x5c
jne 0x4a9ba3
mov word [eax + ecx*2], di
mov edx, dword [esp + 0x28]
inc ecx
cmp ecx, edx
jb 0x4a9b90
mov edi, dword [esp + 0xa0]
push dword [esp + 0x24]
push esi
call fcn.004ab570
lea eax, [esp + 0x2c]
push eax
call fcn.004b3510
add esp, 0xc
mov ax, word [ebx + 0x54]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x4a9c38
push esi
call fcn.004abac0
mov edx, eax
add esp, 4
test edx, edx
je 0x4a9cdb
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
jmp 0x4a9c00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9c00
sub ecx, dword [esp + 0x10]
sar ecx, 1
je 0x4a9c1f
cmp word [edx + ecx*2 - 2], 0x2f
je 0x4a9d13
movzx eax, word [ebx + 0x54]
test eax, 0xf000
jne 0x4a9c33
or eax, 0x8000
mov word [ebx + 0x54], ax
mov ecx, 0x4000
mov ax, word [ebx + 0x54]
mov edx, 0xf000
and ax, dx
cmp ax, cx
jne 0x4a9d9e
push esi
call fcn.004abac0
mov edx, eax
add esp, 4
test edx, edx
je 0x4a9d2c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9c70
sub ecx, dword [esp + 0x10]
sar ecx, 1
je 0x4a9d9e
cmp word [edx + ecx*2 - 2], 0x2f
je 0x4a9d9e
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004b31e0
lea eax, [esp + 0x2c]
push 0x2f
push eax
call fcn.004b3180
push dword [esp + 0x34]
push esi
call fcn.004ab570
lea eax, [esp + 0x3c]
push eax
call fcn.004b3510
jmp 0x4a9d9b
push esi
call fcn.004aba00
mov edx, eax
add esp, 4
test edx, edx
je 0x4a9c1f
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9cf7
sub ecx, dword [esp + 0x10]
je 0x4a9c1f
cmp byte [edx + ecx - 1], 0x2f
jne 0x4a9c1f
mov ax, word [ebx + 0x54]
mov ecx, 0xfff
and ax, cx
movzx eax, ax
or eax, 0x4049
jmp 0x4a9c2f
push esi
call fcn.004aba00
mov edx, eax
add esp, 4
test edx, edx
je 0x4a9d9e
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9d44
sub ecx, dword [esp + 0x10]
je 0x4a9d9e
cmp byte [edx + ecx - 1], 0x2f
je 0x4a9d9e
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004b0c10
lea eax, [esp + 0x2c]
push 0x2f
push eax
call fcn.004b0bb0
push dword [esp + 0x34]
push esi
call fcn.004abf40
lea eax, [esp + 0x3c]
push eax
call fcn.004b14b0
add esp, 0x1c
test byte [ebx + 0x5a], 2
je 0x4a9e86
mov eax, 0xfff7
and word [ebx + 0x56], ax
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x4a9dc4
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x50], eax
jmp 0x4a9deb
cmp byte [ebp + 0x68], 0
jne 0x4a9deb
cmp eax, dword [esp + 0x84]
je 0x4a9deb
push str.Inconsistent_CRC32_values
push 0x2a
push edi
call fcn.004afe10
add esp, 0xc
mov dword [esp + 0x30], 0xffffffec
mov edx, dword [ebx + 0x18]
mov eax, edx
mov ecx, dword [ebx + 0x1c]
or eax, ecx
jne 0x4a9e07
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x1c], eax
jmp 0x4a9e34
mov eax, dword [esp + 0x50]
cmp edx, dword [esp + 0x4c]
jne 0x4a9e15
cmp ecx, eax
je 0x4a9e34
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.004afe10
add esp, 0x1c
mov dword [esp + 0x30], 0xffffffec
mov edx, dword [ebx + 0x20]
mov eax, edx
mov ecx, dword [ebx + 0x24]
or eax, ecx
je 0x4a9e78
cmp edx, 0xffffffff
jne 0x4a9e49
test ecx, ecx
je 0x4a9e78
mov eax, dword [esp + 0x58]
cmp edx, dword [esp + 0x54]
jne 0x4a9e57
cmp ecx, eax
je 0x4a9e86
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.004afe10
add esp, 0x1c
mov dword [esp + 0x30], 0xffffffec
jmp 0x4a9e86
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x24], eax
movzx eax, word [ebx + 0x54]
push eax
push esi
call fcn.004abeb0
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push esi
call fcn.004ac010
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push esi
call fcn.004abdd0
push 0
push dword [ebx + 0x44]
push esi
call fcn.004abed0
push 0
push dword [ebx + 0x4c]
push esi
call fcn.004abbf0
push 0
push dword [ebx + 0x48]
push esi
call fcn.004abba0
mov eax, dword [ebp + 0x44]
mov ecx, 0xf000
add esp, 0x44
mov ax, word [eax + 0x54]
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x4aa0e8
cmp dword [ebx + 0x1c], 0
jl 0x4a9f05
jg 0x4a9efb
cmp dword [ebx + 0x18], 0x10000
jbe 0x4a9f05
push str.Zip_file_with_oversized_link_entry
jmp 0x4a982e
mov eax, dword [ebx + 0x18]
push 0
push 0
push esi
mov dword [esp + 0x1c], eax
call fcn.004abfa0
mov eax, dword [ebp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov al, byte [eax + 0x58]
test al, al
je 0x4a9fbd
mov dword [esp + 0x1c], 0
cmp al, 8
je 0x4a9f5f
cmp al, 0xe
jne 0x4a9f8e
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0x48], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x4c], eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004a9290
jmp 0x4a9f7d
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0x48], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x4c], eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004a8af0
add esp, 0x10
test eax, eax
jne 0x4a9f8e
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x4a9fcf
mov eax, dword [ebp + 0x44]
movzx edx, byte [eax + 0x58]
push edx
call fcn.004a6d80
push eax
push edx
push str.Unsupported_ZIP_compression_method_during_decompression_of_link_entry___d:__s_
push 0x2a
push edi
call fcn.004afe10
add esp, 0x18
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
push 0
push ecx
push edi
call fcn.004ad8a0
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, eax
test ecx, ecx
jne 0x4a9fdd
push str.Truncated_Zip_file
jmp 0x4a982e
mov esi, dword [ebp + 0x1e08]
test esi, esi
jne 0x4aa005
mov eax, dword [ebp + 0x44]
mov edx, 0x800
test word [eax + 0x56], dx
je 0x4a9fff
mov esi, dword [ebp + 0x1e10]
test esi, esi
jne 0x4aa005
mov esi, dword [ebp + 0x1e0c]
mov eax, dword [esp + 0xa4]
push esi
push dword [esp + 0x18]
push ecx
push eax
call fcn.004aaa40
add esp, 0x10
test eax, eax
je 0x4aa0a9
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
je 0x4aa05d
cmp esi, dword [ebp + 0x1e10]
jne 0x4aa05d
mov eax, dword [ebp + 0x44]
mov ecx, 0x800
test word [eax + 0x56], cx
je 0x4aa05d
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0xb0]
call fcn.004aaa40
add esp, 0x10
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0xc
jne 0x4aa074
push str.Cant_allocate_memory_for_Symlink
push 0xc
jmp 0x4a9830
cmp esi, dword [ebp + 0x1e10]
jne 0x4aa08a
mov eax, dword [ebp + 0x44]
mov ecx, 0x800
test word [eax + 0x56], cx
jne 0x4aa0a9
push esi
call fcn.004b1150
push eax
push str.Symlink_cannot_be_converted_from__s_to_current_locale.
push 0x2a
push edi
call fcn.004afe10
add esp, 0x14
mov dword [esp + 0x30], 0xffffffec
push 0
push dword [esp + 0x14]
mov dword [ebx + 0x18], 0
push edi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
call fcn.004ad8c0
add esp, 0xc
test edx, edx
jg 0x4aa10b
jl 0x4aa0de
test eax, eax
jae 0x4aa10b
push str.Read_error_skipping_symlink_target_name
jmp 0x4a982e
test byte [ebx + 0x56], 8
je 0x4aa0fc
cmp dword [ebx + 0x24], 0
jl 0x4aa10b
jg 0x4aa0fc
cmp dword [ebx + 0x20], 0
jbe 0x4aa10b
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call fcn.004abfa0
add esp, 0xc
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0x48], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x4c], eax
test byte [ebx + 0x56], 8
jne 0x4aa12d
test eax, eax
jg 0x4aa12d
jl 0x4aa129
cmp dword [ebp + 0x48], 1
jae 0x4aa12d
mov byte [ebp + 0x6a], 1
movsx eax, byte [esp + 0x23]
mov ecx, 0xa
cdq
idiv ecx
mov dword [ebp + 4], 0
mov esi, eax
mov eax, dword [ebp + 0x44]
movzx eax, byte [eax + 0x58]
push eax
call fcn.004a6d80
push eax
push edx
push esi
push str.ZIP__d._d___s_
push ebp
call fcn.004b8d90
mov ecx, dword [ebp]
add esp, 0x18
mov eax, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret