Function at 0x492650
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x20]
push edi
mov eax, dword [esi + 0x440]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test edx, edx
je 0x49268e
cmp edx, 4
jae 0x4926b6
xor eax, eax
test edx, edx
je 0x49268e
mov ecx, dword [esp + 0x2c]
cmp byte [eax + ecx], bl
jne 0x492698
inc eax
cmp eax, edx
jb 0x492684
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push edx
push str.Too_small_extra_data:_Need_at_least_4_bytes__but_only_found__d_bytes
push 0x2a
push esi
call fcn.00469db0
add esp, 0x10
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x1c], 0x81b4
nop
mov edi, dword [esp + 0x2c]
movzx ecx, byte [ebx + edi + 3]
lea edx, [ebx + edi]
movzx eax, byte [edx + 2]
add ebx, 4
shl cx, 8
or cx, ax
movzx esi, cx
mov ecx, esi
lea eax, [ecx + ebx]
cmp eax, dword [esp + 0x30]
ja 0x492e94
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x7075
ja 0x492c71
je 0x492b8d
cmp ecx, 0x5855
ja 0x492a6f
je 0x492979
sub ecx, 1
je 0x492891
sub ecx, 0x5454
jne 0x492e3a
test si, si
je 0x492e58
movsx eax, byte [ebx + edi]
add esi, 0xffff
inc ebx
mov dword [esp + 0x14], eax
test al, 1
je 0x4927b6
cmp si, 4
jb 0x492e3a
movzx eax, byte [ebx + edi + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax]
add ebx, 4
cdq
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x14]
add esi, 0xfffc
mov dword [ebp + 0x4c], edi
mov edi, dword [esp + 0x2c]
mov dword [ebp + 0x48], ecx
test al, 2
je 0x49281f
cmp si, 4
jb 0x492e3a
movzx eax, byte [ebx + edi + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax]
add ebx, 4
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
add esi, 0xfffc
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x54], edi
test al, 4
je 0x492e3a
cmp si, 4
jb 0x492e3a
mov eax, dword [esp + 0x2c]
movzx eax, byte [ebx + eax + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax]
add ebx, 4
cdq
or ecx, eax
or edi, edx
mov dword [ebp + 0x58], ecx
add esi, 0xfffc
mov dword [ebp + 0x5c], edi
jmp 0x492e3a
or byte [ebp + 0x6a], 1
cmp dword [ebp + 0x20], 0xffffffff
jne 0x4928dc
cmp dword [ebp + 0x24], 0
jne 0x4928dc
cmp esi, 8
jb 0x492e5f
lea eax, [ebx + edi]
push eax
call fcn.0046bb50
add esp, 4
cmp edx, 0x7fffffff
ja 0x492e5f
jb 0x4928cd
cmp eax, 0xffffffff
ja 0x492e5f
add ebx, 8
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edx
add esi, 0xfff8
cmp dword [ebp + 0x18], 0xffffffff
jne 0x492924
cmp dword [ebp + 0x1c], 0
jne 0x492924
cmp si, 8
jb 0x492e7f
lea eax, [ebx + edi]
push eax
call fcn.0046bb50
add esp, 4
cmp edx, 0x7fffffff
ja 0x492e7f
jb 0x492915
cmp eax, 0xffffffff
ja 0x492e7f
add ebx, 8
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], edx
add esi, 0xfff8
cmp dword [ebp + 0x10], 0xffffffff
jne 0x492e3a
cmp dword [ebp + 0x14], 0
jne 0x492e3a
cmp si, 8
jb 0x492e86
lea eax, [ebx + edi]
push eax
call fcn.0046bb50
add esp, 4
cmp edx, 0x7fffffff
ja 0x492e86
jb 0x492965
cmp eax, 0xffffffff
ja 0x492e86
add ebx, 8
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
add esi, 0xfff8
jmp 0x492e3a
cmp esi, 8
jb 0x492a27
movzx eax, byte [ebx + edi + 3]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x54], edi
movzx eax, byte [ebx + eax + 7]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 6]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 5]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 4]
cdq
or ecx, eax
or edi, edx
mov dword [ebp + 0x4c], edi
mov edi, dword [esp + 0x2c]
mov dword [ebp + 0x48], ecx
cmp esi, 0xc
jb 0x492e3a
movzx eax, byte [ebx + edi + 9]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax + 8]
cdq
or ecx, eax
mov eax, dword [esp + 0x2c]
or edi, edx
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], edi
movzx eax, byte [ebx + eax + 0xb]
cdq
mov ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [ebx + eax + 0xa]
jmp 0x492e26
cmp ecx, 0x6c78
jne 0x492e3a
cmp esi, 1
jb 0x492e3a
movzx edx, byte [ebx + edi]
add esi, 0xffff
inc ebx
test dl, dl
jns 0x492aa8
cmp si, 1
jb 0x492aa8
movsx eax, byte [ebx + edi]
add esi, 0xffff
inc ebx
test al, al
js 0x492a93
test dl, 1
je 0x492ac7
cmp si, 2
jb 0x492e3a
mov al, byte [ebx + edi + 1]
add ebx, 2
mov byte [ebp + 0x69], al
add esi, 0xfffe
test dl, 2
je 0x492adf
cmp si, 2
jb 0x492e3a
add ebx, 2
add esi, 0xfffe
test dl, 4
je 0x492b4f
cmp si, 4
jb 0x492e3a
movzx ecx, byte [ebx + edi + 3]
movzx eax, byte [ebx + edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + edi]
shl ecx, 0x10
or ecx, eax
mov al, byte [ebp + 0x69]
cmp al, 3
jne 0x492b16
shr ecx, 0x10
mov word [ebp + 0x64], cx
jmp 0x492b46
test al, al
jne 0x492b40
test ecx, 0x10
mov eax, 0x41fd
cmove eax, dword [esp + 0x1c]
movzx eax, ax
mov word [ebp + 0x64], ax
test ecx, 1
je 0x492b46
and eax, 0x16d
jmp 0x492b42
xor eax, eax
mov word [ebp + 0x64], ax
add ebx, 4
add esi, 0xfffc
test dl, 8
je 0x492e3a
cmp si, 2
jb 0x492e3a
movzx ecx, byte [ebx + edi + 1]
add esi, 0xfffe
movzx eax, byte [ebx + edi]
add ebx, 2
shl ecx, 8
or ecx, eax
movzx eax, si
cmp eax, ecx
jb 0x492e3a
add ebx, ecx
sub esi, ecx
jmp 0x492e3a
cmp esi, 5
jb 0x492e3a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x492e3a
mov eax, dword [esp + 0x10]
add ebx, 5
add esi, 0xfffb
cmp dword [eax + 0x1e18], 0
jne 0x492be3
push 1
push 0x6ae758
push dword [esp + 0x2c]
call fcn.00496e50
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x1e18], eax
test eax, eax
je 0x492e3a
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp byte [eax + 0x68], 0
jne 0x492c52
push ecx
call fcn.0046a830
mov edx, eax
add esp, 4
test edx, edx
je 0x492c4e
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492c00
mov eax, dword [esp + 0x10]
sub ecx, edi
push ecx
push edx
push 0
mov eax, dword [eax + 0x64]
call eax
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
movzx edx, byte [ebx + eax - 1]
movzx ecx, byte [ebx + eax - 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + eax - 3]
movzx eax, byte [ebx + eax - 4]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
cmp edi, edx
jne 0x492e3a
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push dword [eax + 0x1e18]
movzx eax, si
push eax
lea eax, [ebx + edi]
push eax
push dword [esp + 0x34]
call fcn.00469ed0
add esp, 0x10
jmp 0x492e3a
sub ecx, 0x7855
je 0x492de3
sub ecx, 0x20
je 0x492cd2
sub ecx, 0x208c
jne 0x492e3a
cmp esi, 6
jb 0x492e8d
cmp byte [ebx + edi + 2], 0x41
jne 0x492e3a
cmp byte [ebx + edi + 3], 0x45
jne 0x492e3a
movzx ecx, byte [ebx + edi + 1]
movzx eax, byte [ebx + edi]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x6c], ecx
movsx eax, byte [ebx + edi + 4]
mov dword [ebp + 0x70], eax
mov al, byte [ebx + edi + 5]
mov byte [ebp + 0x74], al
jmp 0x492e3a
xor edx, edx
cmp esi, 1
jb 0x492e3a
cmp byte [ebx + edi], 1
lea eax, [ebx + edi]
mov dword [esp + 0x14], eax
jne 0x492e3a
cmp esi, 4
jb 0x492d68
movzx edx, byte [eax + 1]
mov dword [esp + 0x18], edx
cmp edx, 2
jne 0x492d0b
movzx eax, byte [eax + 3]
cdq
mov ecx, eax
mov edi, edx
jmp 0x492d46
cmp edx, 4
jne 0x492d68
cmp esi, 6
jb 0x492d68
movzx eax, byte [eax + 5]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 4]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 3]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or edi, edx
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x34], edi
mov edi, dword [esp + 0x2c]
mov dword [ebp + 0x30], ecx
lea ecx, [edx + 5]
cmp esi, ecx
jb 0x492e3a
lea eax, [edx + ebx]
add edi, eax
mov dword [esp + 0x14], edi
mov al, byte [edi + 2]
cmp al, 2
jne 0x492d95
movzx eax, byte [edi + 4]
cdq
mov ecx, eax
mov eax, edi
movzx eax, byte [eax + 3]
jmp 0x492e26
cmp al, 4
jne 0x492e3a
lea ecx, [edx + 7]
cmp esi, ecx
jb 0x492e3a
movzx eax, byte [edi + 6]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 5]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 4]
cdq
or ecx, eax
mov eax, dword [esp + 0x14]
or edi, edx
movzx eax, byte [eax + 3]
jmp 0x492e28
cmp esi, 2
jb 0x492e10
movzx eax, byte [ebx + edi + 1]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [ebx + eax]
cdq
or ecx, eax
or edi, edx
mov dword [ebp + 0x34], edi
mov edi, dword [esp + 0x2c]
mov dword [ebp + 0x30], ecx
cmp esi, 4
jb 0x492e3a
movzx eax, byte [ebx + edi + 3]
cdq
mov ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [ebx + eax + 2]
mov edi, edx
shld edi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or edi, edx
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x28], ecx
movzx eax, si
add ebx, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
cmp ebx, eax
jbe 0x4926c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Incomplete_extended_time_field
jmp 0x492e64
push str.Malformed_64_bit_uncompressed_size
push 0x2a
push dword [esp + 0x2c]
call fcn.00469db0
add esp, 0xc
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Malformed_64_bit_compressed_size
jmp 0x492e64
push str.Malformed_64_bit_local_header_offset
jmp 0x492e64
push str.Incomplete_AES_field
jmp 0x492e64
mov eax, dword [esp + 0x30]
sub eax, ebx
push eax
push ecx
push str.Extra_data_overflow:_Need__d_bytes_but_only_found__d_bytes
push 0x2a
push dword [esp + 0x34]
call fcn.00469db0
add esp, 0x14
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret