Function at 0x4659f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
mov ebx, ecx
sub esp, 0x6c
movzx eax, word [ecx + 0x2a]
mov edi, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x20], edx
mov word [esp + 0x28], ax
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
mov dword [esp + 0x24], ecx
sbb eax, ecx
jae 0x465ab0
mov eax, 8
mov ebp, 0x10
mov word [esp + 0x1e], ax
xor eax, eax
mov edx, 0xfffffffe
cmp edx, dword [ebx + 0x18]
mov ecx, eax
sbb ecx, dword [ebx + 0x1c]
cmovae bp, word [esp + 0x1e]
mov word [esp + 0x1e], bp
mov ecx, ebp
movzx ebp, byte [esp + 0x20]
and ebp, 1
cmp edx, dword [ebx + 0x38]
sbb eax, dword [ebx + 0x3c]
jae 0x465ac8
mov ebp, ecx
add ebp, 8
mov word [esp + 0x1e], bp
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x1e]
mov dword [esp + 0x24], 1
mov edx, dword [ebx + 0x10]
lea eax, [eax + ecx + 4]
mov ecx, dword [ebx + 8]
mov word [esp + 0x28], ax
mov eax, dword [ebx + 0xc]
test ecx, ecx
jne 0x465af1
test eax, eax
jne 0x465b10
test edx, edx
je 0x465ea8
mov eax, 0x10
mov ebp, 8
jmp 0x465b28
xor eax, eax
mov ebp, 8
mov word [esp + 0x1e], ax
jmp 0x465a35
or edi, dword [esp + 0x24]
jne 0x465ad4
mov eax, ebp
test al, al
jne 0x465a6b
cmp word [esp + 0x1e], 0
jne 0x465a6b
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], 0
mov edx, dword [ebx + 0x10]
test ecx, ecx
je 0x465a93
test eax, eax
jne 0x465e40
test edx, edx
je 0x465e90
mov eax, 0x18
mov ebp, 0x10
jmp 0x465b28
mov edi, 8
mov eax, 0x18
mov ebp, 0x10
mov word [esp + 0x2a], di
test edx, edx
je 0x465b2f
mov word [esp + 0x2a], bp
mov ebp, eax
movzx eax, word [esp + 0x28]
lea eax, [eax + ebp + 4]
mov word [esp + 0x28], ax
movzx eax, word [ebx + 2]
mov edx, 0x14
test ax, ax
cmove eax, edx
mov edx, dword [esp + 0x24]
test edx, edx
mov edx, 0x2d
cmovne eax, edx
cmp byte [esp + 0x20], 0
mov word [ebx + 2], ax
je 0x465cf0
mov dword [esp + 4], 0x4034b50
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test edi, edi
jne 0x465db8
movzx eax, word [ebx + 2]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465db8
movzx eax, word [ebx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465db8
movzx eax, word [ebx + 6]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465db8
mov edx, dword [ebx + 8]
xor eax, eax
test edx, edx
jne 0x4660a0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test eax, eax
jne 0x465db8
mov eax, dword [ebx + 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint32
mov edi, eax
test eax, eax
jne 0x465db8
mov eax, dword [ebx + 0x18]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x1c]
jae 0x465e60
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test edi, edi
jne 0x465db8
mov eax, dword [ebx + 0x20]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x24]
jae 0x465e28
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x466090
movzx eax, ax
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x466090
movzx eax, word [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
cmp byte [esp + 0x20], 0
mov edi, eax
je 0x465e78
test edi, edi
jne 0x465cde
movzx edx, word [esp + 0x2c]
mov eax, dword [ebx + 0x48]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp + 0x20], edx
call sym._mz_stream_write
mov edx, dword [esp + 0x20]
cmp edx, eax
je 0x465dd0
mov edi, 0xffffffff
add esp, 0x6c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x2014b50
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test eax, eax
je 0x466108
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + 0x50]
test edx, edx
je 0x465cde
mov dword [esp], edx
call sym._strlen
test edi, edi
jne 0x465cde
movzx eax, ax
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465cde
movzx eax, word [ebx + 0x30]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465cde
movzx eax, word [ebx + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
test eax, eax
jne 0x465cde
mov eax, dword [ebx + 0x44]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint32
mov edi, eax
test eax, eax
jne 0x465cde
mov eax, dword [ebx + 0x38]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x3c]
jae 0x466120
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x465cad
cmp byte [esp + 0x20], 0
je 0x465d0a
jmp 0x465cde
movzx eax, word [ebx + 0x2a]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 4], eax
call sym._mz_stream_write
mov edx, eax
movzx eax, word [ebx + 0x2a]
cmp edx, eax
jne 0x465cd9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x465f34
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
je 0x465ec0
mov edi, eax
add esp, 0x6c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x465c5f
mov ecx, 0x10
mov eax, 0x20
mov ebp, 0x18
mov word [esp + 0x2a], cx
jmp 0x465b24
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x465c32
mov edx, dword [ebx + 0x50]
xor eax, eax
test edx, edx
jne 0x465d20
jmp 0x465d28
mov eax, 8
mov ebp, 0x10
mov word [esp + 0x2a], ax
jmp 0x465b2f
mov eax, 0xfffffff8
xor ebp, ebp
mov word [esp + 0x2a], ax
jmp 0x465b3d
movzx eax, word [esp + 0x1e]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x465e19
mov edx, dword [ebx + 0x20]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x24]
cmp ecx, edx
mov ecx, edi
sbb ecx, eax
jb 0x466170
mov edx, dword [ebx + 0x18]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x1c]
cmp ecx, edx
mov ecx, 0
sbb ecx, eax
jae 0x465f1e
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._mz_stream_write_uint64
test eax, eax
jne 0x465e19
mov edx, dword [ebx + 0x38]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x3c]
cmp ecx, edx
mov ecx, 0
sbb ecx, eax
jb 0x465f78
test bp, bp
jne 0x465f99
lea esi, [esi]
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x465cde
movzx edx, word [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._mz_stream_write
test eax, eax
setne al
add esp, 0x6c
movzx eax, al
pop ebx
pop esi
neg eax
mov edi, eax
mov eax, edi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._mz_stream_write_uint64
test eax, eax
jne 0x465e19
test bp, bp
je 0x46607a
mov dword [esp + 4], 0xa
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
jne 0x465e19
movzx eax, bp
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x465e19
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._mz_stream_write_uint32
test eax, eax
jne 0x465e19
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
jne 0x465e19
movzx eax, word [esp + 0x2a]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x465e19
mov eax, dword [ebx + 8]
test eax, eax
jne 0x466138
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x46604d
mov edx, 0x989680
mov dword [esp], esi
imul edx
add eax, 0xd53e8000
adc edx, 0x19db1de
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._mz_stream_write_uint64
test eax, eax
jne 0x465e19
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x465f40
mov edx, 0x989680
mov dword [esp], esi
imul edx
add eax, 0xd53e8000
adc edx, 0x19db1de
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._mz_stream_write_uint64
test eax, eax
je 0x465f40
mov edi, eax
jmp 0x465e1b
cmp byte [esp + 0x20], 0
je 0x465d19
jmp 0x465cde
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_localtime]
test eax, eax
je 0x4660f3
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym._mz_zip_tm_to_dosdate
jmp 0x465bde
movzx eax, word [ebx]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
jmp 0x465b7b
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x465cad
mov edx, 0x989680
mov dword [esp], esi
imul edx
add eax, 0xd53e8000
adc edx, 0x19db1de
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym._mz_stream_write_uint64
test eax, eax
je 0x46601c
mov edi, eax
jmp 0x465e1b
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._mz_stream_write_uint64
test eax, eax
je 0x465ef0
mov edi, eax
jmp 0x465e1b