Function at 0x4913a0
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 0x491460
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 0x491478
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 0x4914a1
test eax, eax
jne 0x4914c0
test edx, edx
je 0x491858
mov eax, 0x10
mov ebp, 8
jmp 0x4914d8
xor eax, eax
mov ebp, 8
mov word [esp + 0x1e], ax
jmp 0x4913e5
or edi, dword [esp + 0x24]
jne 0x491484
mov eax, ebp
test al, al
jne 0x49141b
cmp word [esp + 0x1e], 0
jne 0x49141b
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], 0
mov edx, dword [ebx + 0x10]
test ecx, ecx
je 0x491443
test eax, eax
jne 0x4917f0
test edx, edx
je 0x491840
mov eax, 0x18
mov ebp, 0x10
jmp 0x4914d8
mov edi, 8
mov eax, 0x18
mov ebp, 0x10
mov word [esp + 0x2a], di
test edx, edx
je 0x4914df
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 0x4916a0
mov dword [esp + 4], 0x4034b50
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test edi, edi
jne 0x491768
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 0x491768
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 0x491768
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 0x491768
mov edx, dword [ebx + 8]
xor eax, eax
test edx, edx
jne 0x491a50
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test eax, eax
jne 0x491768
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 0x491768
mov eax, dword [ebx + 0x18]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x1c]
jae 0x491810
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
test edi, edi
jne 0x491768
mov eax, dword [ebx + 0x20]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x24]
jae 0x4917d8
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 0x491a40
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 0x491a40
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 0x491828
test edi, edi
jne 0x49168e
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 0x491780
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 0x491ab8
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 0x49168e
mov dword [esp], edx
call sym._strlen
test edi, edi
jne 0x49168e
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 0x49168e
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 0x49168e
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 0x49168e
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 0x49168e
mov eax, dword [ebx + 0x38]
mov edx, 0xfffffffe
cmp edx, eax
sbb edi, dword [ebx + 0x3c]
jae 0x491ad0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x49165d
cmp byte [esp + 0x20], 0
je 0x4916ba
jmp 0x49168e
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 0x491689
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4918e4
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
je 0x491870
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 0x49160f
mov ecx, 0x10
mov eax, 0x20
mov ebp, 0x18
mov word [esp + 0x2a], cx
jmp 0x4914d4
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x4915e2
mov edx, dword [ebx + 0x50]
xor eax, eax
test edx, edx
jne 0x4916d0
jmp 0x4916d8
mov eax, 8
mov ebp, 0x10
mov word [esp + 0x2a], ax
jmp 0x4914df
mov eax, 0xfffffff8
xor ebp, ebp
mov word [esp + 0x2a], ax
jmp 0x4914ed
movzx eax, word [esp + 0x1e]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x4917c9
mov edx, dword [ebx + 0x20]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x24]
cmp ecx, edx
mov ecx, edi
sbb ecx, eax
jb 0x491b20
mov edx, dword [ebx + 0x18]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x1c]
cmp ecx, edx
mov ecx, 0
sbb ecx, eax
jae 0x4918ce
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._mz_stream_write_uint64
test eax, eax
jne 0x4917c9
mov edx, dword [ebx + 0x38]
mov ecx, 0xfffffffe
mov eax, dword [ebx + 0x3c]
cmp ecx, edx
mov ecx, 0
sbb ecx, eax
jb 0x491928
test bp, bp
jne 0x491949
lea esi, [esi]
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x49168e
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 0x4917c9
test bp, bp
je 0x491a2a
mov dword [esp + 4], 0xa
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
jne 0x4917c9
movzx eax, bp
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x4917c9
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._mz_stream_write_uint32
test eax, eax
jne 0x4917c9
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._mz_stream_write_uint16
test eax, eax
jne 0x4917c9
movzx eax, word [esp + 0x2a]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
test eax, eax
jne 0x4917c9
mov eax, dword [ebx + 8]
test eax, eax
jne 0x491ae8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4919fd
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 0x4917c9
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4918f0
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 0x4918f0
mov edi, eax
jmp 0x4917cb
cmp byte [esp + 0x20], 0
je 0x4916c9
jmp 0x49168e
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_localtime]
test eax, eax
je 0x491aa3
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 0x49158e
movzx eax, word [ebx]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._mz_stream_write_uint16
mov edi, eax
jmp 0x49152b
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._mz_stream_write_uint32
mov edi, eax
jmp 0x49165d
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 0x4919cc
mov edi, eax
jmp 0x4917cb
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._mz_stream_write_uint64
test eax, eax
je 0x4918a0
mov edi, eax
jmp 0x4917cb