Function at 0x459f00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [eax + 4]
test esi, esi
jne 0x459f20
mov eax, 0x10
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [eax]
lea ecx, [esi - 1]
mov dword [eax + 4], ecx
lea ebx, [edi + 1]
mov dword [eax], ebx
movzx ebx, byte [edi]
test bl, bl
mov byte [esp], bl
js 0x459f50
movzx ebp, bl
mov dword [edx + 4], 0
xor eax, eax
mov dword [edx], ebp
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
je 0x459f0e
test byte [esp], 0x40
lea ecx, [edi + 2]
lea ebp, [esi - 2]
mov dword [eax], ecx
mov dword [eax + 4], ebp
movzx ecx, byte [edi + 1]
je 0x45a130
test ebp, ebp
je 0x459f0e
lea ebx, [edi + 3]
lea ebp, [esi - 3]
mov dword [eax], ebx
mov dword [eax + 4], ebp
movzx ebx, byte [edi + 2]
shl ebx, 8
or ecx, ebx
xor ebx, ebx
test byte [esp], 0x20
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [edx], ecx
mov dword [edx + 4], ebx
je 0x45a1cb
test ebp, ebp
je 0x459f0e
lea ecx, [edi + 4]
lea ebp, [esi - 4]
xor ebx, ebx
mov dword [eax + 4], ebp
mov dword [eax], ecx
movzx ecx, byte [edi + 3]
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x20]
test byte [esp], 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ebx
mov dword [edx], ecx
je 0x45a1bf
test ebp, ebp
je 0x459f0e
lea ecx, [edi + 5]
lea ebp, [esi - 5]
xor ebx, ebx
mov dword [eax + 4], ebp
mov dword [eax], ecx
movzx ecx, byte [edi + 4]
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x10]
or ebx, dword [esp + 0x18]
mov ecx, ebx
mov ebx, dword [esp + 0x14]
or ebx, dword [esp + 0x1c]
test byte [esp], 8
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ebx
je 0x45a1b3
test ebp, ebp
je 0x459f0e
lea ecx, [edi + 6]
lea ebp, [esi - 6]
mov dword [eax + 4], ebp
mov dword [eax], ecx
movzx ecx, byte [edi + 5]
or ecx, dword [esp + 0x14]
test byte [esp], 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ebx
je 0x45a1a7
test ebp, ebp
je 0x459f0e
lea ecx, [edi + 7]
lea ebp, [esi - 7]
mov dword [eax + 4], ebp
mov dword [eax], ecx
movzx ecx, byte [edi + 6]
shl ecx, 8
or ecx, dword [esp + 0x14]
test byte [esp], 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ebx
je 0x45a19b
test ebp, ebp
je 0x459f0e
lea ebx, [esi - 8]
lea ecx, [edi + 8]
mov dword [eax + 4], ebx
mov dword [eax], ecx
movzx ecx, byte [edi + 7]
mov dword [esp + 0x18], ebx
shl ecx, 0x10
or ecx, dword [esp + 0x14]
test byte [esp], 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ebx
je 0x45a14e
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x459f0e
lea ecx, [edi + 9]
sub esi, 9
mov ebx, dword [esp + 0x10]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax], ecx
movzx eax, byte [edi + 8]
mov dword [edx], ebx
shl eax, 0x18
or eax, esi
mov dword [edx + 4], eax
xor eax, eax
jmp 0x459f13
mov ebp, dword [esp]
mov dword [edx + 4], 0
xor eax, eax
shl ebp, 8
and ebp, 0x3f00
or ecx, ebp
mov dword [edx], ecx
jmp 0x459f13
mov ecx, 7
mov esi, 1
movzx ebp, byte [esp]
mov eax, esi
shl ecx, 3
movzx esi, al
xor edi, edi
xor ebx, ebx
sub esi, 1
and esi, ebp
shld edi, esi, cl
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, ebx
mov ebx, dword [esp + 0x10]
mov ebp, edi
mov edi, esi
mov esi, dword [esp + 0x14]
mov eax, ebx
or eax, edi
mov dword [edx], eax
mov eax, esi
or eax, ebp
mov dword [edx + 4], eax
xor eax, eax
jmp 0x459f13
mov ecx, 6
mov esi, 2
jmp 0x45a158
mov ecx, 5
mov esi, 4
jmp 0x45a158
mov ecx, 4
mov esi, 8
jmp 0x45a158
mov ecx, 3
mov esi, 0x10
jmp 0x45a158
mov ecx, 2
mov esi, 0x20
jmp 0x45a158