Function at 0x534d40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
mov edi, dword [edx + 0x1c]
mov ecx, dword [edx]
mov dword [esp + 4], ecx
mov eax, dword [edx + 4]
lea eax, [eax + ecx - 5]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x10]
mov ebx, eax
sub ebx, esi
movzx ecx, byte [edi + 0x58]
mov ebp, 0xffffffff
shl ebp, cl
mov ecx, dword [edx + 0xc]
mov dword [esp], ecx
add ebx, ecx
mov dword [esp + 0x6c], ebx
movzx ecx, byte [edi + 0x5c]
mov ebx, 0xffffffff
shl ebx, cl
not ebp
mov dword [esp + 0x74], ebp
not ebx
mov dword [esp + 0x70], ebx
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x38]
lea ebx, [ecx + esi]
add ebx, edx
mov dword [esp + 0x5c], ebx
mov ebx, dword [edi + 0x34]
mov dword [esp + 0x64], ecx
add ecx, ebx
mov dword [esp + 0x60], ecx
add ecx, esi
add esi, ebx
add esi, edx
mov dword [esp + 0x58], esi
mov ebp, ebx
and ebp, 0xfffffff0
mov dword [esp + 0x28], ebx
and ebx, 0xf
mov dword [esp + 0x48], ebx
lea esi, [ecx + edx]
mov dword [esp + 0x54], esi
sub ecx, eax
mov ebx, dword [esp]
lea esi, [eax + ebx]
add esi, 0xfffffeff
mov dword [esp + 0x34], esi
add eax, ebx
mov dword [esp + 0x2c], eax
sub ecx, ebx
add ecx, edx
mov dword [esp + 0x50], ecx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x68], eax
mov esi, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
mov eax, dword [edi + 0x50]
mov dword [esp + 0x30], edi
mov ecx, dword [edi + 0x54]
mov edi, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], edx
lea ecx, [edx + ebp]
mov dword [esp + 0x44], ecx
mov ebp, eax
mov eax, dword [esp]
mov dword [esp], eax
cmp ebx, 0xe
ja 0x534e60
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
add eax, esi
movzx esi, byte [edi + 1]
add cl, 8
shl esi, cl
add edi, 2
mov dword [esp + 4], edi
add esi, eax
add ebx, 0x10
jmp 0x534e64
mov dword [esp + 4], edi
mov ecx, esi
and ecx, dword [esp + 0x74]
lea edx, [ecx*4]
add edx, ebp
movzx eax, byte [ebp + ecx*4]
movzx ecx, byte [ebp + ecx*4 + 1]
sub ebx, ecx
mov dword [esp + 0xc], ebx
shr esi, cl
test al, al
je 0x534ecf
nop dword [eax]
movzx eax, al
test al, 0x10
jne 0x534f00
test al, 0x40
jne 0x5356d0
movzx edx, word [edx + 2]
mov edi, 0xffffffff
mov ecx, eax
shl edi, cl
lea ecx, [edx*4]
add ecx, ebp
not edi
and edi, esi
lea edx, [ecx + edi*4]
movzx eax, byte [ecx + edi*4]
movzx ecx, byte [ecx + edi*4 + 1]
sub dword [esp + 0xc], ecx
shr esi, cl
test al, al
jne 0x534e90
movzx eax, byte [edx + 2]
mov ecx, dword [esp]
mov byte [ecx], al
mov eax, ecx
inc eax
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
cmp edi, dword [esp + 0x38]
jae 0x53570c
cmp eax, dword [esp + 0x34]
jb 0x534e2e
jmp 0x53570c
movzx edi, word [edx + 2]
and eax, 0xf
je 0x534f74
mov ebx, dword [esp + 0xc]
cmp ebx, eax
jae 0x534f2e
mov dword [esp + 8], edi
mov edi, dword [esp + 4]
movzx edx, byte [edi]
mov ecx, ebx
shl edx, cl
inc edi
mov dword [esp + 4], edi
mov edi, dword [esp + 8]
add esi, edx
add ebx, 8
mov edx, 0xffffffff
mov ecx, eax
shl edx, cl
not edx
and edx, esi
add edi, edx
mov dword [esp + 8], edi
shr esi, cl
sub ebx, eax
mov edi, dword [esp + 4]
mov edx, ebx
cmp edx, 0xe
mov dword [esp + 0x1c], ebp
ja 0x534f89
movzx eax, byte [edi]
mov ecx, edx
shl eax, cl
add eax, esi
movzx esi, byte [edi + 1]
add cl, 8
shl esi, cl
add edi, 2
mov dword [esp + 4], edi
add esi, eax
add edx, 0x10
jmp 0x534f8d
mov dword [esp + 8], edi
mov edi, dword [esp + 4]
mov edx, dword [esp + 0xc]
cmp edx, 0xe
mov dword [esp + 0x1c], ebp
jbe 0x534f54
mov dword [esp + 4], edi
mov eax, esi
and eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
lea edi, [ebx + eax*4]
movzx ecx, byte [ebx + eax*4 + 1]
sub edx, ecx
shr esi, cl
movzx eax, byte [ebx + eax*4]
mov ebp, esi
test al, 0x10
jne 0x534fe4
nop dword [eax]
test al, 0x40
jne 0x5356e0
movzx edi, word [edi + 2]
mov esi, 0xffffffff
mov ecx, eax
shl esi, cl
mov eax, dword [esp + 0x3c]
lea eax, [eax + edi*4]
not esi
and esi, ebp
lea edi, [eax + esi*4]
movzx ecx, byte [eax + esi*4 + 1]
movzx eax, byte [eax + esi*4]
sub edx, ecx
shr ebp, cl
test al, 0x10
je 0x534fb0
and eax, 0xf
cmp edx, eax
jae 0x535013
mov ebx, dword [esp + 4]
movzx esi, byte [ebx]
mov ecx, edx
shl esi, cl
add esi, ebp
lea ecx, [edx + 8]
cmp ecx, eax
jae 0x535019
movzx ebp, byte [ebx + 1]
shl ebp, cl
add ebx, 2
mov dword [esp + 4], ebx
add esi, ebp
add edx, 0x10
jmp 0x535015
mov esi, ebp
mov ebx, edx
jmp 0x535020
inc ebx
mov dword [esp + 4], ebx
mov ebx, ecx
mov ebp, dword [esp + 0x1c]
movzx edi, word [edi + 2]
mov edx, 0xffffffff
mov ecx, eax
shl edx, cl
not edx
and edx, esi
mov dword [esp + 0x18], edi
add edi, edx
shr esi, cl
sub ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp]
mov ecx, eax
sub ecx, dword [esp + 0x6c]
mov ebx, edi
sub ebx, ecx
jbe 0x5350ba
cmp ebx, dword [esp + 0x68]
jbe 0x535069
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x2344], 0
jne 0x53575d
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x20], edi
je 0x535143
mov edi, eax
sub edi, ebx
jae 0x535174
mov edi, dword [esp + 0x60]
sub edi, ebx
mov ecx, dword [esp + 0x24]
add edi, ecx
sub ebx, eax
mov eax, dword [esp + 8]
sub eax, ebx
jbe 0x5351fa
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
cmp ebx, 0x10
jae 0x535238
mov ecx, dword [esp]
jmp 0x53550c
mov ecx, eax
sub ecx, edi
neg edi
mov dword [esp + 0x20], edi
add ecx, 2
mov edi, eax
xor eax, eax
mov edx, dword [esp + 8]
nop
movzx ebx, byte [ecx + eax - 2]
mov byte [edi + eax], bl
movzx ebx, byte [ecx + eax - 1]
mov byte [edi + eax + 1], bl
movzx ebx, byte [ecx + eax]
mov byte [edi + eax + 2], bl
add edx, 0xfffffffd
add eax, 3
cmp edx, 2
ja 0x5350d0
mov ecx, eax
mov edx, dword [esp + 8]
sub ecx, edx
je 0x535137
neg edx
lea ecx, [eax + edx]
inc ecx
mov edi, dword [esp]
mov ebx, dword [esp + 0x20]
lea edx, [edi + ebx]
add edx, 2
movzx edx, byte [edx + eax - 2]
mov byte [edi + eax], dl
test ecx, ecx
je 0x5351f2
lea ecx, [edi + eax]
movzx ecx, byte [ebx + ecx + 1]
mov byte [edi + eax + 1], cl
add eax, edi
add eax, 2
jmp 0x534edb
mov ecx, dword [esp]
add ecx, eax
mov eax, ecx
jmp 0x534edb
mov edi, dword [esp + 0x64]
sub edi, ebx
mov ecx, dword [esp + 0x24]
add edi, ecx
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp]
jbe 0x5351e9
cmp ebx, 0x10
jae 0x535206
mov ecx, eax
mov edx, edi
jmp 0x53530d
mov ecx, dword [esp + 0x24]
add edi, ecx
mov eax, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x14], eax
sub ebx, eax
mov eax, dword [esp]
jbe 0x5351e9
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
cmp ebx, 0x10
jb 0x5351b9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp]
add eax, ecx
add edx, dword [esp + 0x2c]
add edx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp]
add edx, eax
cmp edx, 0x10
jae 0x535472
mov ecx, eax
mov edx, edi
mov ebp, ebx
and ebp, 7
je 0x53526d
xor edi, edi
nop word [eax + eax]
movzx eax, byte [edx + edi]
mov byte [ecx + edi], al
inc edi
cmp ebp, edi
jne 0x5351d0
add ecx, edi
mov ebp, ebx
sub ebp, edi
add edx, edi
jmp 0x53526f
mov edx, dword [esp + 8]
jmp 0x53539f
add eax, edi
inc eax
jmp 0x534edb
mov edx, dword [esp + 8]
mov eax, dword [esp]
jmp 0x53539f
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp]
add ecx, eax
mov ebx, dword [esp]
add edx, dword [esp + 0x2c]
add edx, dword [esp + 0x18]
sub edx, ecx
add edx, ebx
cmp edx, 0x10
jae 0x5352d2
mov ecx, ebx
mov ebx, dword [esp + 0x14]
mov edx, edi
jmp 0x53530d
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x54]
mov ebx, dword [esp]
lea ecx, [eax + ebx]
mov eax, dword [esp + 0x2c]
lea ebp, [eax + edx]
mov eax, ebx
mov ebx, dword [esp + 0x18]
add ebp, ebx
sub ebp, ecx
add ebp, eax
cmp ebp, 0x10
jae 0x5354b2
mov ecx, eax
mov ebx, dword [esp + 0x14]
jmp 0x53550c
mov ebp, ebx
dec ebx
cmp ebx, 7
jb 0x53538f
xor edi, edi
nop dword [eax + eax]
movzx eax, byte [edx + edi]
mov byte [ecx + edi], al
movzx eax, byte [edx + edi + 1]
mov byte [ecx + edi + 1], al
movzx eax, byte [edx + edi + 2]
mov byte [ecx + edi + 2], al
movzx eax, byte [edx + edi + 3]
mov byte [ecx + edi + 3], al
movzx eax, byte [edx + edi + 4]
mov byte [ecx + edi + 4], al
movzx eax, byte [edx + edi + 5]
mov byte [ecx + edi + 5], al
movzx eax, byte [edx + edi + 6]
mov byte [ecx + edi + 6], al
movzx eax, byte [edx + edi + 7]
mov byte [ecx + edi + 7], al
add edi, 8
cmp ebp, edi
jne 0x535280
jmp 0x53538d
mov edx, dword [esp + 0x14]
mov ebp, edx
and ebp, 0xfffffff0
lea ecx, [ebx + ebp]
and edx, 0xf
mov dword [esp + 8], edx
mov eax, ebp
lea edx, [edi + ebp]
xor ebp, ebp
nop dword [eax]
movups xmm0, xmmword [edi + ebp]
movups xmmword [ebx + ebp], xmm0
add ebp, 0x10
cmp eax, ebp
jne 0x5352f0
cmp dword [esp + 0x14], eax
mov ebx, dword [esp + 8]
je 0x53538f
mov ebp, ebx
and ebp, 7
je 0x535336
xor edi, edi
nop word cs:[eax + eax]
movzx eax, byte [edx + edi]
mov byte [ecx + edi], al
inc edi
cmp ebp, edi
jne 0x535320
add ecx, edi
mov ebp, ebx
sub ebp, edi
add edx, edi
jmp 0x535338
mov ebp, ebx
dec ebx
cmp ebx, 7
jb 0x53538f
xor edi, edi
movzx eax, byte [edx + edi]
mov byte [ecx + edi], al
movzx eax, byte [edx + edi + 1]
mov byte [ecx + edi + 1], al
movzx eax, byte [edx + edi + 2]
mov byte [ecx + edi + 2], al
movzx eax, byte [edx + edi + 3]
mov byte [ecx + edi + 3], al
movzx eax, byte [edx + edi + 4]
mov byte [ecx + edi + 4], al
movzx eax, byte [edx + edi + 5]
mov byte [ecx + edi + 5], al
movzx eax, byte [edx + edi + 6]
mov byte [ecx + edi + 6], al
movzx eax, byte [edx + edi + 7]
mov byte [ecx + edi + 7], al
add edi, 8
cmp ebp, edi
jne 0x535340
add ecx, edi
mov edi, ecx
sub edi, dword [esp + 0x20]
mov eax, ecx
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp edx, 3
jb 0x5353e0
mov ebx, eax
lea ecx, [edx - 3]
mov eax, ecx
mov dword [esp + 0x10], edx
mov edx, 0xaaaaaaab
mul edx
bt edx, 1
jb 0x5353e4
movzx eax, byte [edi]
mov byte [ebx], al
movzx eax, byte [edi + 1]
mov byte [ebx + 1], al
movzx eax, byte [edi + 2]
add edi, 3
mov byte [ebx + 2], al
mov eax, ebx
add eax, 3
mov edx, ecx
cmp ecx, 3
jae 0x5353ef
jmp 0x53543a
mov ecx, edx
jmp 0x53543a
mov eax, ebx
mov edx, dword [esp + 0x10]
cmp ecx, 3
jb 0x53543a
mov ecx, edx
nop word cs:[eax + eax]
mov edx, eax
movzx eax, byte [edi]
mov byte [edx], al
movzx eax, byte [edi + 1]
mov byte [edx + 1], al
movzx eax, byte [edi + 2]
mov byte [edx + 2], al
movzx eax, byte [edi + 3]
mov byte [edx + 3], al
movzx eax, byte [edi + 4]
mov byte [edx + 4], al
movzx eax, byte [edi + 5]
add edi, 6
mov byte [edx + 5], al
mov eax, edx
add eax, 6
add ecx, 0xfffffffa
cmp ecx, 2
ja 0x535400
test ecx, ecx
je 0x53545b
mov edx, eax
movzx eax, byte [edi]
mov byte [edx], al
cmp ecx, 1
jne 0x53544f
mov eax, edx
inc eax
jmp 0x53545b
movzx eax, byte [edi + 1]
mov byte [edx + 1], al
mov eax, edx
add eax, 2
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 4]
cmp edi, dword [esp + 0x38]
jb 0x534eed
jmp 0x53570c
mov edx, ebx
and ebx, 0xfffffff0
lea ecx, [eax + ebx]
and edx, 0xf
mov dword [esp + 8], edx
lea edx, [edi + ebx]
xor ebp, ebp
nop word cs:[eax + eax]
movups xmm0, xmmword [edi + ebp]
movups xmmword [eax + ebp], xmm0
add ebp, 0x10
cmp ebx, ebp
jne 0x535490
cmp dword [esp + 0x14], ebx
mov ebx, dword [esp + 8]
jne 0x5351bd
jmp 0x53538f
mov ebx, dword [esp + 0x14]
and ebx, 0xfffffff0
lea ecx, [eax + ebx]
mov ebp, eax
sub ebp, edx
mov edx, dword [esp + 0x14]
and edx, 0xf
mov dword [esp + 0x40], edx
add edi, ebx
sub ebp, dword [esp + 0x18]
add ebp, dword [esp + 0x50]
xor edx, edx
nop word [eax + eax]
movups xmm0, xmmword [ebp + edx]
movups xmmword [eax + edx], xmm0
add edx, 0x10
cmp ebx, edx
jne 0x5354e0
cmp dword [esp + 0x14], ebx
jne 0x535504
dec ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
jmp 0x535596
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x40]
mov ebp, ebx
and ebp, 3
je 0x535548
xor edx, edx
nop word cs:[eax + eax]
movzx eax, byte [edi + edx]
mov byte [ecx + edx], al
inc edx
cmp ebp, edx
jne 0x535520
mov eax, dword [esp + 8]
lea ebp, [eax + edx]
dec ebp
mov dword [esp + 0x18], ebp
add eax, edx
mov dword [esp + 8], eax
add ecx, edx
mov ebp, ebx
sub ebp, edx
add edi, edx
jmp 0x53554a
mov ebp, ebx
dec ebx
cmp ebx, 3
mov ebx, dword [esp + 0x10]
jb 0x535596
xor eax, eax
nop word cs:[eax + eax]
movzx edx, byte [edi + eax]
mov byte [ecx + eax], dl
movzx edx, byte [edi + eax + 1]
mov byte [ecx + eax + 1], dl
movzx edx, byte [edi + eax + 2]
mov byte [ecx + eax + 2], dl
movzx edx, byte [edi + eax + 3]
mov byte [ecx + eax + 3], dl
add eax, 4
cmp ebp, eax
jne 0x535560
mov edx, dword [esp + 8]
add edx, eax
dec edx
mov dword [esp + 0x18], edx
add ecx, eax
mov edx, ebx
mov eax, dword [esp + 0x28]
sub edx, eax
jbe 0x5355b2
cmp eax, 0x10
mov edi, dword [esp + 0x24]
jae 0x5355c3
mov dword [esp], ecx
mov ebx, eax
mov eax, edi
jmp 0x535610
mov edi, dword [esp + 0x24]
mov eax, ecx
mov edx, ebx
mov ebp, dword [esp + 0x1c]
jmp 0x53539f
mov eax, dword [esp]
add eax, dword [esp + 0x18]
sub eax, edi
inc eax
cmp eax, 0x10
jae 0x5355dd
mov dword [esp], ecx
mov ebx, dword [esp + 0x28]
mov eax, edi
jmp 0x535610
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + ebx]
mov dword [esp], eax
xor eax, eax
movups xmm0, xmmword [edi + eax]
movups xmmword [ecx + eax], xmm0
add eax, 0x10
cmp ebx, eax
jne 0x5355e9
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x28], ebx
mov ebx, ecx
mov ecx, dword [esp + 4]
je 0x5356ba
mov dword [esp + 0x10], edx
mov edx, ebx
and edx, 7
je 0x535649
mov ebp, ebx
xor edi, edi
mov ebx, dword [esp]
nop word cs:[eax + eax]
movzx ecx, byte [eax + edi]
mov byte [ebx + edi], cl
inc edi
cmp edx, edi
jne 0x535630
add ebx, edi
mov dword [esp], ebx
mov ebx, ebp
sub ebp, edi
add eax, edi
jmp 0x53564b
mov ebp, ebx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
dec ebx
cmp ebx, 7
jb 0x5356ba
xor ecx, ecx
mov edi, dword [esp]
nop
movzx edx, byte [eax + ecx]
mov byte [edi + ecx], dl
movzx edx, byte [eax + ecx + 1]
mov byte [edi + ecx + 1], dl
movzx edx, byte [eax + ecx + 2]
mov byte [edi + ecx + 2], dl
movzx edx, byte [eax + ecx + 3]
mov byte [edi + ecx + 3], dl
movzx edx, byte [eax + ecx + 4]
mov byte [edi + ecx + 4], dl
movzx edx, byte [eax + ecx + 5]
mov byte [edi + ecx + 5], dl
movzx edx, byte [eax + ecx + 6]
mov byte [edi + ecx + 6], dl
movzx edx, byte [eax + ecx + 7]
mov byte [edi + ecx + 7], dl
add ecx, 8
cmp ebp, ecx
jne 0x535660
add edi, ecx
mov dword [esp], edi
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov eax, dword [esp]
mov edi, eax
sub edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x53539f
mov edx, 0x3f3f
mov ecx, str.invalid_literal_length_code
test al, 0x20
je 0x5356eb
jmp 0x5356fa
mov ecx, str.invalid_distance_code
mov esi, ebp
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x8c]
mov dword [eax + 0x18], ecx
mov edx, 0x3f51
mov eax, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp]
mov ecx, eax
mov eax, ebx
shr eax, 3
sub edi, eax
mov edx, dword [esp + 0x8c]
mov dword [edx], edi
mov eax, dword [esp + 0x38]
sub eax, edi
mov dword [edx + 0xc], ecx
add eax, 5
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
add eax, 0x101
mov dword [edx + 0x10], eax
and ebx, 7
mov eax, 0xffffffff
mov ecx, ebx
shl eax, cl
not eax
and eax, esi
mov edx, dword [esp + 0x30]
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.invalid_distance_too_far_back
jmp 0x5356eb